Escaping Quotes in a String and Ending With A Quote
| From: | Dr. Shim | Date: | Wed, 20 Mar 2002 02:25:36 +0000 |
| Subject: | Escaping Quotes in a String and Ending With A Quote | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89258@lists.php.net to get a copy of this message | ||
Well, this is a fairly simple problem. I'm having problems with escaping a
string, and then ending the string right after the escape! For example,
echo "Then Johnathan said, \"That's exactly what I said!\"";
I get a parse error on the line where the string is. Very simple problem, I
just can't seem to solve it though. Maybe I'm going crazy =)