Connecting Tech Pros Worldwide Help | Site Map

Why it didnt work?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 05:44 AM
Honza K.
Guest
 
Posts: n/a
Default Why it didnt work?

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




  #2  
Old July 17th, 2005, 05:44 AM
Alan Little
Guest
 
Posts: n/a
Default 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/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.