Jump to content

Buttons, events and PHP. Advice please


Johnain

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/88049-buttons-events-and-php-advice-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.