You are here: Re: what am I doing wrong « PHP Programming Language « IT news, forums, messages
Re: what am I doing wrong

Posted by Geoff Berrow on 09/19/05 19:37

I noticed that Message-ID:
<1127146813.563664.109190@g43g2000cwa.googlegroups.com> from
hougie40@hotmail.com contained the following:

>$variable = "test";
>
>echo "c:\websites\menu\" . $variable;

The backslash is the escape character. For it to be a literal backslash
you have to escape it with...uh...a backslash.

echo "c:\\websites\\menu\\" . $variable;

Or you could do

echo "c:\\websites\\menu\\$variable";
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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