php'ed mysql query
| From: | Christopher Allen | Date: | Tue, 16 Jan 2001 19:25:19 +0000 |
| Subject: | php'ed mysql query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34884@lists.php.net to get a copy of this message | ||
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