At 11:43 PM 3/10/2006, Ron Piggott (PHP) wrote:
X-Spam-Scan: YES
X-Spam-Flag: NO
X-Spam-Level: /
X-Spam-Score: 0.0 (0)
X-Spam-Report: score=0.0 stars= tests=UNPARSEABLE_RELAY=0.001
X-Virus-Scan: YES
X-Headers-End: 1FHupX-0000MO-JB
X-Delivered-To: <[EMAIL PROTECTED]>
Subject: [PHP-DB] unescape a string
Is there a way to unescape a string once the command
mysql_real_escape_string($variable);
has been used on it? (This is to display it to the screen, instead of
sending it to the database.)
Ron
Just stash it in another var before running the function.
$var_b4_esx = $variable;
mysql_real_escape_string( $variable );
Curious about why you are doing this for screen display.
Miles
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php