BNole Posted December 4, 2007 Share Posted December 4, 2007 I'm getting the following error:Parse error: syntax error, unexpected T_STRING in /home/firecoac/public_html/fanthefire/indexTEST.php on line 73Now, here are lines 72-74. I don't see any problems. Help? $num_pages = ceil(($num_rows + 2) / 8);echo 'Page 1 of ';echo $num_pages; Link to comment Share on other sites More sharing options...
Synook Posted December 4, 2007 Share Posted December 4, 2007 Those lines are fine, you must have an unclosed quotation or something in the previous lines of code e.g. echo 'Blah blah blah; //Missing ' causes all following text to be included in the string$num_pages = ceil(($num_rows + 2) / 8);echo 'Page 1 of '; //The first ' causes string to end, then P becomes an invalid stringecho $num_pages; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.