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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.