christo Posted May 3, 2006 Share Posted May 3, 2006 Well i would like to know if i can use OR at my requests...[code]$query = "SELECT * FROM object WHERE city = '$city' AND transaction = '$transaction'AND accomodation = '$accomodation' AND nb_rooms = '$nb_rooms' AND price = '$price' ANDage_par = '$age_par'";[/code]for exemple replacing AND with OR above. Would that work ? I haven't found much on the net about it:(christos Quote Link to comment Share on other sites More sharing options...
KrisNz Posted May 4, 2006 Share Posted May 4, 2006 Why don't you try it and find out? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.