PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to carry out a search using selection items put into an array. I am not sure that this is the best way to do this, however I think it could work.
$result = mysql_query("SELECT * FROM location, bedrooms, type, price WHERE location = '$array[0]' AND bedrooms = '$array[1]' AND type='$array[2]' AND price '$array[3]'");