I have a table called mytable
that contains a row with the following data:
uid: 1 (type: int(10))
email: it is visible as 971f2d23 in phpMyAdmin (type: varbinary(16))
I want to run a SELECT query like that:
$conn->query("SELECT * FROM mytable WHERE email=971f2d23");
but this doesn't return any rows.
I also tried:
$conn->query("SELECT * FROM mytable WHERE email=0x971f2d23");
but still no rows.
Any help would be appreciated.
Thanks!