note 47884 deleted from language.variables by betz

From: Date: Fri, 03 Dec 2004 20:33:00 +0000
Subject: note 47884 deleted from language.variables by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81341@lists.php.net to get a copy of this message
Note Submitter: serch dot ml at RoyG dot Vib dot net dot mx ---- I've found a problem using long strings in php, i didn't know what exactly php was doing, but i found what was causing the problem. I got an html formated text for sending an email like this: <? $var = " doesn't matter...asdfu aldf hlasduf asdsd asd asd asda ilads lasd asdfu aldf hlasduf asd the text doesn't matter... <a href="somelink.com">asasdasd </a></p> <p>&nbsp;</p> "; ?> Ok, my error was that i didnot remove (or put \ before ") the double qoutes (") in the string, i wasn't aware of that... and the script wasn't showing anything, i was expecting an error like Unexpected end of string or something, but it wasn't showing anything, Always keep in mind the quotes when using them in strings.. ---- Reason: useless note

« previous php.notes (#81341) next »