php - How to work search query like or like and status -
if search multiple keywords in mysql query t_name '%key%' or t_name '%key%' want filter if tour status 1 show has 1 status in database.
every thing working , status='1' not working
below query code:
if($stmt=$connc->query("select * jaipuragra_home_tours t_name '%shimla%' or t_name '%manali%' , status='1'"))
any body can , plz reply
if want add email array should make variable array first $email= array();
after declare variable array can add $email = $_post['email'];
Comments
Post a Comment