jquery ajax

jquery ajax

Hi,
a question about $ajax Jquery function. 
Why if i passed 2 parameters to my php file that do an ordered query (select * from table where field1=param1 or field2=param2 Order by .... ASC) it just reply to me only records following first condition for example?
Thx a lot