I want to make an advanced search in which the user has optional parameters to search,am joining data from three tables as follows
$qry=\"SELECT rooms.*, saleres