|
Posted by J.O. Aho on 04/07/07 23:43
Tyno Gendo wrote:
> 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>";
you are right, starting yo be to used to highlights to see that in
seamonkey.
--
//Aho
Navigation:
[Reply to this message]
|