Why it didnt work?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Honza K.

    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



  • Alan Little

    #2
    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

    Comment

    Working...