On Tue, 16 Jan 2001, Christopher Allen wrote:

>
> Hello,
> Can anyone tell me why this query errors out? It works from the  mysql
> client command line just fine....
>
>
> $query1 = "select * from zip_base where '$zip1' >= zip  && '$zip1' <= CONCAT
> (SUBSTRING(zip , '1' , LENGTH (zip) - LENGTH (range) ), range)";
>
>
>
>
> Christopher C. M. Allen
>

Does the MySQL user ID you're connecting as have select permissions on the
database?

-- 
Ignacio Vazquez-Abrams  <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to