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>"; Quote 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"; Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.