Unexpected "=" - why? what to do?
Posted: Sat Jan 15, 2011 3:39 pm
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?
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?