i start to think this query is messed up ...
And yes 1=1 is indeed wrong π,
what i want to try is some1 fills in a form.. with 10 search criteria
then the query needs to look in the table where the rows match tre criteria.
I have for example the fields, Date_Origin,m Category, Instument_Type_nr, Originator
If some1 fills in Date_Origin and Category, the results have to match these 2 fields
But i'm kinda lost of how to do this, it can't be to hard.. but well it is for me..
I know how to search for 1 keyword in serveral fields, but not how i can search different keywords in different fields ( 1 keyword match a "static" field
$keyword1=Date_origin, $keyword2=Category, $keyword=Orginator, etc
i had a query but that 1 always returned to allot results because if 1 keyword matched a within a field it would return a result.
I'm very sorry for explaining it in such bad way, i hope it makes any sense..