mardi 30 décembre 2014

Where like querry not working as expected


I have the following querry:



$results=$facilities=$mydb->get_results("SELECT facility_name from facility where facility_name like '%".$facility_name."%' LIMIT 0, 10");


It is not working as using regardless of whatever is typed as the facility name. It is just returning top 10.





Aucun commentaire:

Enregistrer un commentaire