ok first of all this is the error: Parse error: parse error, unexpected T_SL, expecting ',' or ';' in /home/httpd/vhosts/dinstitute.com/httpdocs/map.phtml on line 1
this is the script
<?include "functions.phtml";membersonly();if ($username) { $result = mysql_query("SELECT FROM map WHERE username='$username'"); if (mysql_num_rows($result)) mysql_query("UPDATE map SET dateline='$time' WHERE username='$username'"); else mysql_query("INSERT INTO map SET username='$username',dateline='$time'"); mysql_free_result($result);}include "header.phtml";echo <<<EOT<font size=3><b>Krums Map</b></font><p><table cellpadding=0 cellspacing=0 width=100%> <tr> <td width=9 height=9><img src=/pics/mtopleft.gif width=9 height=9></td> <td background=/pics/mtop.gif width=100% height=9><img src=/pics/spacer.gif width=452 height=1></td> <td width=9 height=9><img src=/pics/mtopright.gif width=9 height=9></td> </tr> <tr> <td background=/pics/mleft.gif width=9><br></td> <td bgcolor=#010E1F class=size12> <div class=size12> <center><span class=size16></span></center><br><span class=size16> <table cellpadding=4 cellspacing=1 bgcolor=#000000 border=0 width=99% align=center> <tr class=rows_firstalt> <td class=column_normal colspan=2 align=center> <table cellpadding=0 cellspacing=0 border=0 width=455 align=center> <tr> </tr> <tr> <td class=column_normal align=center> </td> <td class=column_normal align=center> </td> </tr> </table> </td> </form> </tr> </tr> <tr> </td><td class=column_header width=120>Username</td> </tr> <tr class=rows_firstalt> <tr class=rows_secalt>EOT;$number = mysql_count("map");if (!$number) { message2("Krums's Map","No students online right now !"); include "footer.phtml"; exit;}$result = mysql_query("SELECT FROM map WHERE dateline + 180 > $time");while ($object = mysql_fetch_object($result)){$dateline = date("M j, h:i a",$object->dateline);$user = $object->username;echo "";echo "<td bgcolor=#0E2D58 class=column_normal><a href=profile/user.phtml?user=$user>$user</a></td><td bgcolor=#0E2D58 class=column_normal><a href='owls.phtml?action=write&to=$user'>Owl me</a> </td>"; echo "</tr>";}echo "</td> </tr></table> </div> </td> <td background=/pics/mright.gif width=9><br></td> </tr> <tr> <td width=9 height=9><img src=/pics/mfootleft.gif width=9 height=9></td> <td background=/pics/mfoot.gif height=9><img src=/pics/spacer.gif width=452 height=1></td> <td width=9 height=9><img src=/pics/mfootright.gif width=9 height=9></td> </tr></table>";include "footer.phtml";?>
anybody have any idea whats wrong?