Code: Select all
$query = mysql_query("SELECT * FROM vendors WHERE name LIKE '[a-m]%' ORDER BY name");If I change [a-m]% to just a% it works for all a records, so it's an issue with using range matching... I thought this was a valid sql matching format?
is it a problem with mysql_query() in php?