fabiez Posted August 23, 2011 Share Posted August 23, 2011 Hi I'm getting a problem that I can't fix. Help would be preciated. print "<table cellspacing='0' cellpadding='0' class='menu'>"; print "<tr>"; >>>>>> print "<td onmouseover="showmenu('requests')" onmouseout="hidemenu('requests')">Requestz"; print "<form action='home.php' method='post'>"; print "<input type='hidden' name='confirmed' value='1'>"; print "<table cellspacing='0' cellpadding='0' class='menu' id='requests'>"; while($Row = mysql_fetch_array($Result8)){ print "<tr>"; print "<td align='left' valign='top' class='menu'><a href='home.php?id=$Row[requester]'>$Row[fname] $Row[lname]</td>"; print "<td align='left' valign='top'><input type='submit' value='Accept'></td>"; print "</tr>"; } print "</table>"; print "</form>"; print "</td>"; print "</tr>"; print "</table>"; Link to comment https://forums.phpfreaks.com/topic/245485-parse-error-syntax-error-unexpected-t_string-in/ Share on other sites More sharing options...
WebStyles Posted August 23, 2011 Share Posted August 23, 2011 you need to escape your quotes: print "<td onmouseover=\"showmenu('requests')\" onmouseout=\"hidemenu('requests')\">Requestz"; Link to comment https://forums.phpfreaks.com/topic/245485-parse-error-syntax-error-unexpected-t_string-in/#findComment-1260862 Share on other sites More sharing options...
fabiez Posted August 23, 2011 Author Share Posted August 23, 2011 thx Link to comment https://forums.phpfreaks.com/topic/245485-parse-error-syntax-error-unexpected-t_string-in/#findComment-1260863 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.