I'd like to do something like
$res = mysql_query("SELECT COUNT(*) FROM $typeid WHERE series LIKE 'h%'");
But instead of 'h%' want to use the ascii code corresponding to the character "h". Is that possible?
Possible yes, but then SQL would be searching for a string that begins with '65' for the letter 'A' etc...
Anyway, manuals manuals... http://www.php.net/manual/en/function.ord.php http://www.php.net/manual/en/function.chr.php