Connecting Tech Pros Worldwide Help | Site Map

Why it didnt work?

Honza K.
Guest
 
Posts: n/a
#1: Jul 17 '05
Why this works:
$pod = "<//body><//html>";

and this gives me a Parse Error:
$pod = "</body></html>";

??

I used the variable $pod for including the string into *.htm file by using
FPutS() function.
I thought that I must doubled only backslash (\ -> \\) and not the normal
one.

Thanx, yesterday I was looking for the mistake very long. :-((
Jack



Alan Little
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Why it didnt work?


Carved in mystic runes upon the very living rock, the last words of
Honza K. of comp.lang.php make plain:
[color=blue]
> Why this works:
> $pod = "<//body><//html>";
>
> and this gives me a Parse Error:
> $pod = "</body></html>";[/color]

They both work fine for me; the problem has to be elsewhere.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Closed Thread