Is there any way to provide this functionality if using pager and retrieving info with AJAX?
Basically I would like to be able to modify my MySQL search to be one of:
LIKE 'text%'
LIKE '%text'
LIKE '$text%'
depending on a flag the user sets. Of course I can ask the user to type in the search text like that, but is is not very intuitive!
Is there any way to provide this functionality if using pager and retrieving info with AJAX?
Basically I would like to be able to modify my MySQL search to be one of:
LIKE 'text%'
LIKE '%text'
LIKE '$text%'
depending on a flag the user sets. Of course I can ask the user to type in the search text like that, but is is not very intuitive!