Hi,
I am running a very simple query to the database, basically select all the
firms which start with 0-9,
eg.
1stcompany
3isgood
etc

using this:
$qry = "select cust_no,firm from companies where firm LIKE `%0123456789%'";

It gives me this error:

Error: Unknown column '0123456789%'' in 'where clause'

any idea why its ignoring the LIKE statement? the funny part is LIKE is
working for another program..

What am i missing?

Thanks,
-Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to