Posted by Paul Herber on 09/19/05 20:30
On Mon, 19 Sep 2005 17:37:08 +0100, Geoff Berrow
<blthecat@ckdog.co.uk> wrote:
>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 put a bit less stress on the server
echo 'c:\websites\menu\' . $variable;
--
Regards, Paul Herber, Sandrila Ltd. http://www.pherber.com/
SanDriLa - SDL/MSC/TTCN/UML2 application for Visio http://www.sandrila.co.uk/
[Back to original message]
|