I am sorry, this has nothing to do with the logic of your code, but instead with style (and a little bit of perfomance, both from you and your system).
Isn't easier to escape PHP when you are going to enter html code lines? Like this: <?php if ($myrow = mysql_fetch_array($varetabell) AND $myro = mysql_fetch_array($varetab)) { echo "<TABLE border=\"0\" width=\"450\">\n"; echo " <tr>\n"; ?> IMHO would be better: <?php if ($myrow = mysql_fetch_array($varetabell) AND $myro = mysql_fetch_array($varetab)) { ?> <TABLE border="0" width="450"> <tr> <td width="300" colspan="2"><b><font <?php } ?> Seems to be easier to type, prettier and faster.... Just a tought ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php