You are here: Re: Can anyone tell me why this doesnt work please « PHP Programming Language « IT news, forums, messages
Re: Can anyone tell me why this doesnt work please

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация