i have a form with a form to edit informatin, when i click on edit, i want this form to be hidden and another form to edit has to appear on the same page, how will i do this-URGENT.....
the quick lazy way
<?php if ($_GET['edit']==1) { //form 1 } else { //form 2 ?> <form method="get" action=""> <input name="edit" value="1" type="submit"/> </form> <?php } ?>