php form control
Posted: Tue May 26, 2009 5:25 pm
I am needing some direction.
I am wanting to code a page where clicking on a button it will show a form on the same page. I am very new to php. If I were to do this in .net I would simply set the form to visible on click. I am not quite sure how to do this i php. Their is no processing to be done.
I have googled it and have been unsuccessful in finding any examples.
Thanks
Mark
I am wanting to code a page where clicking on a button it will show a form on the same page. I am very new to php. If I were to do this in .net I would simply set the form to visible on click. I am not quite sure how to do this i php. Their is no processing to be done.
Code: Select all
pseudo code
onload
user input form = hidden
admin input form = hidden
if button 1 is selected
then show user input form
if button 2 is selected
then show admin input form
Thanks
Mark