Posted: Wed Feb 19, 2003 12:51 am
Thanks for the help. I took your idea and did the opposite. didn't encode anything, and replaced & % ( ) with the correct #number.
All appears to be in working order.
Code: Select all
<?php
$decode['to'] = array('%25', '%28', '%29', '%31');
$decode['from'] = array('%', '(', ')', '"');
$encoded = str_replace($decode['from'],$decode['to'],$Description);
$Description_encoded = $encoded
?>