php Programming Glossary: adresse
Use the IN directive to search with a prepared statement http://stackoverflow.com/questions/9006066/use-the-in-directive-to-search-with-a-prepared-statement use implode stmt this db prepare 'SELECT libelle activite adresse tel lat lng FROM etablissements where type IN '. in_list.' '.. s in_list stmt execute stmt bind_result libelle activite adresse tel lat lng That seems not to work perfectly it always throwing.. be obvious stmt this db prepare 'SELECT libelle activite adresse tel lat lng FROM etablissements where type ' stmt bind_param..
|