PDA

View Full Version : Need help with php


EJMack
01-11-2002, 04:02 PM
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
01-24-2002, 03:45 PM
big wish :)
do u know php?

galt
03-23-2002, 05:02 AM
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.