blueman378 Posted December 25, 2007 Share Posted December 25, 2007 hi guys well heres the codce echo '<tr><td>'; echo $row[cName] . '</td> <td>5</td> <td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">' <img src="Delete.png" alt="Delete"></a></td></tr>'; heres the error Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\wamp\www\admin\Category manager.php on line 88 88 is the bottom line there thanks Link to comment https://forums.phpfreaks.com/topic/83100-solved-echo-problems/ Share on other sites More sharing options...
Ryuujin Posted December 25, 2007 Share Posted December 25, 2007 echo '<tr><td>'; echo $row[cName] . '</td> <td>5</td> <td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">' <img src="Delete.png" alt="Delete"></a></td></tr>'; Hmm, try this instead: echo '<tr><td>'; echo $row[cName] . '</td> <td>5</td> <td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '"> <img src="Delete.png" alt="Delete"></a></td></tr>'; Link to comment https://forums.phpfreaks.com/topic/83100-solved-echo-problems/#findComment-422739 Share on other sites More sharing options...
blueman378 Posted December 25, 2007 Author Share Posted December 25, 2007 hi guys well i modified it a bit so now i have, echo '<tr><td>'; echo $row[cName] . '</td> <td>'"; include("gamecount.php); echo </td> <td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '"> <img src="../images/Delete.png" alt="Delete" Title="Delete"></a><a href="catprocess.php$action=Browse&$cat=' . $row['cName'] . '"> <img src="../images/Browse.png" alt="Browse" Title="Browse"></a></td></tr>'; error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\wamp\www\admin\Category manager.php on line 86 oh and your code before worked, thanks so any ideas this time? Link to comment https://forums.phpfreaks.com/topic/83100-solved-echo-problems/#findComment-422746 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.