PHP advanced search issue
Page 1 of 1
PHP advanced search issue
I have some people list in database.Sebin simon
Sijo simon
Aby simon
Simon dcruz
Angel simon
I need a query which on searching for "Angel simon" gives me the result like this
Angel simon
Sebin simon
Sijo simon
Aby simon
Simon dcruz
Is there a way for that?
Re: PHP advanced search issue
you can get the result like thisAngel simon
Sebin simon
Sijo simon
Aby simon
Simon dcruz
by searching the word Simon
it really depend on your query
- Code: Select all
select * from persons where name like '%simon';
Page 1 of 1