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 Link to comment https://forums.phpfreaks.com/topic/9016-just-an-sql-question/ 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? Link to comment https://forums.phpfreaks.com/topic/9016-just-an-sql-question/#findComment-33174 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.