Jump to content

Unexpected "=" - I can't see what to do..


abrogard

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/224554-unexpected-i-cant-see-what-to-do/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.