On Tue, Jul 21, 2009 at 12:41 PM, Miller, Terion < tmiller@xxxxxxxxxxxxxxxxxxxx> wrote: > Turned off the redirects on the whole script and tried to the the query to > echo and these are the errors I got: > > Notice: Undefined offset: 1 in /var/www/vhosts/ > getpublished.news-leader.com/httpdocs/ResturantInspections/processRestaurantSearch.phpon line 89 > > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result > resource in /var/www/vhosts/ > getpublished.news-leader.com/httpdocs/ResturantInspections/processRestaurantSearch.phpon line 119 > > > On 7/21/09 11:32 AM, "Kevin Smith" <kevin@xxxxxxxxxxxxxxx> wrote: > > Can you supply the actual generated SQL, I can potentially see a > problem, but need to see the final SQL statement. > > print_r($sql);