How to Write mysql Select LIKE cause in php -


how write mysql query,

select *  `content`where  `language_option_tag`  "%english%"  

into php code select data user have been post form

$sql .= 'select *  `content`  `language_option_tag` "%' .$lang_name. '%" ;  

$lang_name = $_post['your_lang'];     $sql = "select * content `language_option_tag` '%$lang_name%'" ;  

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -