[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Goetz Lohmann
Chris Boget schrieb: > Why is it that \n gets translated to a _new line_ when in > double quotes whereas it's displayed as the literal when > in single quotes? I checked out the docs but couldn't > come up with a definitive answer. If someone could point > me to the right page in the docs that e

[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Mathieu Dumoulin
All single quotes around variables or escape characters are written out man! it's as simple as that. example you have a variable named $hey and you want to output "$hey", you can't it's gonna replace the content of that string with the value of $hey. When you put stuff inside ' ' they are not es