Hi there I have this php page that basically looks different depending on user input. If the user has logged-on then I output a html-table represeting a logged-in user. If a user failed to logg-in I output a html-table represeting a failing-logged in user, i.e some red text and such. The problem is that right now Im doing this by outputting(php echo function) html strings. This is really bad and If I have to change something its a pain in the \*ss.

Is there any way for me to create a html-file that just contains a table and then output that ?

Or maybe I could create a full html-page but only output the table part of it ?

Thanks in advance