Re:
| From: | Miles Thompson | Date: | Sat, 11 Mar 2006 12:52:33 +0000 |
| Subject: | Re: | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41450@lists.php.net to get a copy of this message | ||
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: <miles@allnovascotia.com> 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.) RonJust 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