MySQL bin2hex insert onto table

Binary to hex


MySQL bin2hex insert onto table
How to convert binary to hex on MySQL befor insert data to database

$query = "INSERT INTO table_name (blobfield) VALUES ('".bin2hex($blobfield)."')";mysql_query($query);


Thank you

Comments