On 23/06/06, cajbecu <cajbecu@xxxxxxxxx> wrote:
$data .= "&#".ord(substr($string,$i,1)).";";
and I think there's no need for substr.. just $data .= "&#".$string[$i].";"; /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php