abrogard Posted January 15, 2011 Share Posted January 15, 2011 I get this error message: Parse error: parse error, unexpected '=' in c:\Inetpub\wwwroot\xyford\manual\mybook.php on line 46 And here's line 46. The "=" causing the trouble is, I think, the "chapter=" one. if ($prevPage > $chapters[$chapter][0]) $out .= "<a href="/mybook.php?chapter={$chapter}&page={$prevPage}">Prev</a>"; I can't see what to do about it. Can anyone help? Quote Link to comment Share on other sites More sharing options...
Lee Posted January 15, 2011 Share Posted January 15, 2011 I think you need to escape the double quotes.. if ($prevPage > $chapters[$chapter][0]) $out .= "<a href=\"mybook.php?chapter={$chapter}&page={$prevPage}\">Prev</a>"; Quote Link to comment Share on other sites More sharing options...
abrogard Posted January 15, 2011 Author Share Posted January 15, 2011 Thank you, Bob.... onwards to the next prob. Quote Link to comment 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.