Problem with array

I am writing an array and I am having trouble sorting out certain results. I have written the following:

$l->where(‘city’, ‘Philadelphia’);

and it works fine and also works when I use: $l->where(‘city’, ‘Philadelphia’, true); but I want to use

$l->where(‘city’, ‘Philadelphia’, false); or $l->where(‘city’ != ‘Philadelphia’);

or something similar so that the system displays results that DO NOT have Philadelphia as the city name. I know I am missing something dumb here. Can someone please help me?

well since you are writing that you are going to have to rewrite the query function, here you are not defining $l

You are going to need to show more of your code or simply dont use a query function and write your queries out to make it more simple for you!!

mysql_query(“SELECT blah blah blah FROM blah blah blah WHERE blah blah blah !=’$escaped_query’”);

Sponsor our Newsletter | Privacy Policy | Terms of Service