cjbeck71081 Posted January 15, 2009 Share Posted January 15, 2009 Hey, i'm fairly expereinced with PHP and Javascript, i was wondering if anyone had a good example of taking results from a MySQL table and making them availible in tabular form. Then having checkboxes at the top of the page that would allow users to limit thier results by clicking one or more checkboxes. I am sure i can create onChange page reloads modifying the query for each result, but i wanted this to be a bit faster, any thoughts? Link to comment https://forums.phpfreaks.com/topic/140986-php-results-sort-using-javascript/ Share on other sites More sharing options...
RussellReal Posted January 15, 2009 Share Posted January 15, 2009 AJAX establish an xmlHttp object connect to a php file which will spit out data according to what was sent to the page VIA GET then, parse the return data, or just echo into javascript and eval() the return javascript Link to comment https://forums.phpfreaks.com/topic/140986-php-results-sort-using-javascript/#findComment-737886 Share on other sites More sharing options...
cjbeck71081 Posted January 16, 2009 Author Share Posted January 16, 2009 Sounds great, any quick examples, or tutorials that might get me started? I appreciate the response. Link to comment https://forums.phpfreaks.com/topic/140986-php-results-sort-using-javascript/#findComment-738438 Share on other sites More sharing options...
premiso Posted January 16, 2009 Share Posted January 16, 2009 google jQuery it is a framework that will make AJAX 100times simpler and I am sure there is code made to do what you want already. Link to comment https://forums.phpfreaks.com/topic/140986-php-results-sort-using-javascript/#findComment-738441 Share on other sites More sharing options...
flyhoney Posted January 16, 2009 Share Posted January 16, 2009 Tablekit is a prototype extension that is pretty nifty. Go to the demo here: http://www.millstream.com.au/upload/code/tablekit/ Click the table headers. Link to comment https://forums.phpfreaks.com/topic/140986-php-results-sort-using-javascript/#findComment-738443 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.