PDA

View Full Version : Need help with php


EJMack
11 Jan 2002, 18:02
ok on a non vb page i have users online in a table, i want to be able to make the table visible or hidden by clicking a button. Is this possible?

Gimp
24 Jan 2002, 17:45
big wish :)
do u know php?

galt
23 Mar 2002, 07:02
very easy. Use two buttons, one says "Display", one says :Hide".

Inside a condiitonal statement, put your table display, as well as the HIDE button. the else portion of teh conditional should output the "Display" Button" without the table. Make both buttons call $PHP_SELF (or something like that), and you are almost done.