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

2003-02-06 Thread Jason Sheets
Because PHP performs evaluation on the contents of double quotes and does not evaluate the contents of single quotes. This is covered in the PHP manual in the Variables section at http://www.php.net/manual/en/language.variables.php. Jason On Thu, 2003-02-06 at 08:27, Chris Boget wrote: > Why is

[PHP] Stupid question, sorry...

2003-02-06 Thread Chris Boget
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 explains this, I'd be ever so ap