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 - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -