Escape %
| From: | Website4S at aol dot com | Date: | Mon, 26 Feb 2001 06:29:46 +0000 |
| Subject: | Escape % | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41653@lists.php.net to get a copy of this message | ||
Hi,
Anyone know the best method to escape the % sign in PHP?
I
ve checked the manual and devshed and didnt come across much, is there a
command like addslashes() or would I have to use something like this...
$Field="A%D%E";
$Field1=str_replace("%","percent",$Field);
Thanks for any input
Ade