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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -