Re: STRING TO ASCII CHARACTERS

From: Date: Fri, 23 Jun 2006 22:23:22 +0000
Subject: Re: STRING TO ASCII CHARACTERS
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-238569@lists.php.net to get a copy of this message
On 23/06/06, cajbecu <cajbecu@gmail.com> wrote:
$data .= "&#".ord(substr($string,$i,1)).";";
and I think there's no need for substr.. just $data .= "&#".$string[$i].";"; /ahmed

« previous php.general (#238569) next »