Posted by Tyno Gendo on 04/07/07 23:33
J.O. Aho wrote:
> H@C0 wrote:
>> I tried menu.php but I get thefollowing warnings:
>>
>> Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
>> E:\AppServ\www\test\menu-org.php on line 4
>>
>> Parse error: parse error, unexpected '"', expecting '}' in
>> E:\AppServ\www\test\menu-org.php on line 4
>
> you have a line break where there should be none
>
Erm no, I think its because Line 4 is missing a closing brace after
{$alt and before \", should be:
return "<div class=\"nolnk\"><img src=\"{$img}\" alt=\"{$alt}\"
title=\"{$title}\"></div>";
[Back to original message]
|