Re: php'ed mysql query
| From: | Christopher Allen | Date: | Tue, 16 Jan 2001 20:00:40 +0000 |
| Subject: | Re: php'ed mysql query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34891@lists.php.net to get a copy of this message | ||
> If you are going to do a comparison from one of the fields in your table,
> doesn't the field name need to be on the left hand side of the comparison?
> So instead of "where '$zip1' >= zip", shouldn't it be "zip
> < '$zip1'" (et
al
> for the other comparisons in your query) .
>
Didn't matter. Is there a trick for using concat or substring or any string
functions in a mysql query that is sent by php??