Johnain Posted January 27, 2008 Share Posted January 27, 2008 Hi all I am building my first PHP display and update form, and so far it runs like a dream (tp my amazement). However I am taking my time with this because I want it to be a "standard form" ... almost a class, for future forms of the same type. Basically, it does this. 1 Selects all data from a MySQL table, sticks it in a table for on-screen display and then shows it. Scrollbars, locked columns on the left , alternate colours on rows and other magic. Now I want to offer the user the opportunity to redisplay the form with filters and sort orders initiated by on-screen buttons. I tried onclick, but it will not go to my PHP function. Do I have to set up a "mini form" for each button and redisplay the whole page with the newly sorted and filtered data, or is there something I am missing? John Quote Link to comment https://forums.phpfreaks.com/topic/88049-buttons-events-and-php-advice-please/ Share on other sites More sharing options...
AndyB Posted January 27, 2008 Share Posted January 27, 2008 Although it doesn't provide every bit of the 'magic' you asked for, it goes a very long way towards it, and it's free, and it can be set up in just a few minutes. phpMyEdit http://sourceforge.net/projects/phpmyedit Quote Link to comment https://forums.phpfreaks.com/topic/88049-buttons-events-and-php-advice-please/#findComment-450470 Share on other sites More sharing options...
Johnain Posted January 27, 2008 Author Share Posted January 27, 2008 That is really good. Thanks. As you say, it may not do it all. But it is a good looking solution. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/88049-buttons-events-and-php-advice-please/#findComment-450482 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.