Re: Re: Help: Database Search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Jason Wong <php-general@xxxxxxxxxxxx> wrote:
 
> See the "Array" (also missing a single-quote),
> that's element [30] mentioned 
> above.
> 
> Summary: the missing single-quotes are the
> show-stopper.
> 
I see that , but I'm not sure how that is happening. 

Here is the sql:

$sql = 'SELECT PostStart, JobTitle, Industry,
LocationState, VendorID
        FROM VendorJobs
        WHERE ' . implode( ' AND ', $where );
// Is it the Where statement maybe ?

//print_r($where);

$result = mysql_query($sql) or die ("Query failed: "
.mysql_error());
while($row = mysql_fetch_assoc($result))

Stuart

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux