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

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -