RE: [PHP] Dollar signs in values

From: Date: Fri, 07 Mar 2003 06:49:10 +0000
Subject: RE: [PHP] Dollar signs in values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138576@lists.php.net to get a copy of this message
print htmlspecialchars("1064@!$L{P~Helloo$@#%:$@~test`@{@##{}$|#:~December, 2003~on~fjskl"); Niklas -----Original Message----- From: Liam Gibbs [mailto:liamgibbs@sympatico.ca] Sent: 7. maaliskuuta 2003 8:13 To: php-general@lists.php.net Subject: Re: [PHP] Dollar signs in values > Could you show some code to illustrate the unpredictable results that > you get? Here's what I have in my file: 1064@!$L{P~Helloo$@#%:$@~test`@{@##{}$|#:~December, 2003~on~fjskl It's first exploded() by ~, then those values are produced by print("") statements, like this one: print(" <DIV ALIGN = \"CENTER\"><STRONG>\"" . $information[1] . "\"</STRONG>"); I'll try the single quotation mark method first, though. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ########################################### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ ########################################### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/

« previous php.general (#138576) next »