PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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.
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
I have googled it and have been unsuccessful in finding any examples.