--- whoisquilty <[EMAIL PROTECTED]> wrote: > Good advice. I'll try it out. But the problem occurs before the query. I > tried printing $var > prior to the query and it does not print. Then, I get the error: > > "You have an error in your SQL syntax. Check the manual that corresponds to > your MySQL > server version for the right syntax to use near 'WHERE begins = '0'' at line > 4"
You have floor($_GET['var']) yet your select values are letters. A letter will always evaluate to a 0. Don't use floor() (next lowest integer). James
