note 27204 added to function.bin2hex

From: Date: Wed, 27 Nov 2002 06:39:47 +0000
Subject: note 27204 added to function.bin2hex
Groups: php.notes 
Request: Send a blank email to php-notes+get-40022@lists.php.net to get a copy of this message
There is a hex2bin function, it is called CHR I am converting hex to binary from an array from a MS SQL database with the following: $rs = $dbc->Execute("SELECT PICTURE FROM STAFF"); $data = $rs->Fields["Picture"]->Value; for ($i=0; $i<sizeof($data); $i++) { echo CHR($data[$i]); } -- http://www.php.net/manual/en/function.bin2hex.php http://master.php.net/manage/user-notes.php?action=edit+27204 http://master.php.net/manage/user-notes.php?action=delete+27204 http://master.php.net/manage/user-notes.php?action=reject+27204

« previous php.notes (#40022) next »