A $letter variable is passed to my page in some cases. It is just a regular ol a-z character.
$alpha_query = "SELECT user_id, name FROM mail_list WHERE name LIKE '$letter%' ORDER BY name ASC";
I am trying to figure out a query that will match everything else (non alphabetical character), so I tried:
$other_query = "SELECT user_id, name FROM mail_list WHERE left(name, 1) REGEXP "![a-zA-Z]" ORDER BY name ASC";
but i get a parse error
CG