Posted by nigel.t on 12/16/01 11:57
In article <ednpik$eeb$1@ns.felk.cvut.cz>, stoupa@practisoft.cz says...
> <
> Try to use singe quote instead the double quote. I'm no sure if this is the
> same in PHP as is in Perl but in Perl double quote evaluate something but
> single quote don't.
> Example in Perl:
>
> $name = "nigel";
> print "Hallo $name";
> >Hallo nigel
>
> $name = "nigel";
> print 'Hallo $name';
> >Hallo $name
>
> Maybe is some similar in PHP.
>
> --
>
> Petr Vileta, Czech republic
> (My server rejects all messages from Yahoo and Hotmail. Send me your mail
> from another non-spammer site please.)
>
>
>
Thanks Petr - yes the quotes are different in PHP too... doubles allow
more escaped characters.
Turns out that wasn't it though - see my next post !
-nigel-
Navigation:
[Reply to this message]
|