ianhaney Posted March 15, 2020 Share Posted March 15, 2020 I am in the middle of a project on my own website and want to add a filter on it, the results are displayed in a HTML table and are pulled in from a mysql database using php and want to add a text filter on the site. I want the filter to work by clicking on a status text link such as open, pending or closed and it filters the results that match that on the same page for that relevant text value. I was not sure if it's more a php question or if can be done with ajax/javascript Quote Link to comment https://forums.phpfreaks.com/topic/310293-filter-results-by-text-link/ Share on other sites More sharing options...
ianhaney Posted March 15, 2020 Author Share Posted March 15, 2020 Just found I can use dataTable for what I need and sort of got it working, can this thread be closed if possible please Quote Link to comment https://forums.phpfreaks.com/topic/310293-filter-results-by-text-link/#findComment-1575467 Share on other sites More sharing options...
semidotinfotech Posted March 16, 2020 Share Posted March 16, 2020 Yes, you can do the same through dataTable. Quote Link to comment https://forums.phpfreaks.com/topic/310293-filter-results-by-text-link/#findComment-1575470 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.