android - query for words between two tag <h3></h3> -


in need query search word between 2 tag

<h3>ali</h3> hasan ali <h3>ali kamali</h3> 

when user search ali need,

 <h3>ali</h3>  <h3>ali kamali</h3> 

enter image description here

try this,

select    *     mytable     field '<h3>%' + query + '%</h3>' 

see this fiddle working sample.

sql fiddle


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -