chris11 Posted May 28, 2009 Share Posted May 28, 2009 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' echo "<td align="center" width="113" height="88">" .$cell. "</td>"; Im getting and error. Something wrong with the " " Could someone lend a hand. Link to comment https://forums.phpfreaks.com/topic/159989-unexpected-t_string/ Share on other sites More sharing options...
ShadeSlayer Posted May 28, 2009 Share Posted May 28, 2009 echo "<td align=\"center\" width=\"113\" height=\"88\">" .$cell. "</td>"; You need to escape quotes you want to be displayed literally or else the code will think it's, well, code. What you had meant that "center" was part of PHP, and not your echo. Link to comment https://forums.phpfreaks.com/topic/159989-unexpected-t_string/#findComment-843900 Share on other sites More sharing options...
chris11 Posted May 28, 2009 Author Share Posted May 28, 2009 Thanks very much. Errors begone Link to comment https://forums.phpfreaks.com/topic/159989-unexpected-t_string/#findComment-843904 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.