Re: Re: Help: Database Search
| From: | Stuart Felenstein | Date: | Sat, 13 Nov 2004 14:20:13 +0000 |
| Subject: | Re: Re: Help: Database Search | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201913@lists.php.net to get a copy of this message | ||
--- James Kaufman <jmk@kaufman.eden-prairie.mn.us>
wrote:
> Right here, print the contents of $sql. That is the
> most important thing to
> know right now.
>
SELECT PostStart, JobTitle, Industry, LocationState,
VendorID FROM VendorJobs WHERE VendorJobs.Industry
IN(1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','Array)Query
failed: 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
'','2','3','4','5','6','7','8','9','10','11','12','13','14','15'
Looks like the array is matching ?
Stuart