Jump to content

show form


MannyG

Recommended Posts

Is there a method to click a radio button or a normal button under an html table that displays a form underneath when the button is clicked? then the form submit button sends the form data to mysql and refreshes the page where the html table then outputs it?

 

Basically just need the form to appear when the button is clicked and I dont know if i can send the form data to the same page and have it execute the query and then refresh the page? is that possible?

Link to comment
https://forums.phpfreaks.com/topic/198011-show-form/
Share on other sites

use a div that can be hidden and or displayed via a button/text. include the form in the 'hidden div'.

 

and you can refer back to same page - have an IF statement to determine whether to include the hidden for div or the div that display the output

 

make sense?

Link to comment
https://forums.phpfreaks.com/topic/198011-show-form/#findComment-1039016
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.