Below is code that I’m trying to edit so that when the link is clicked the form is shown and when the link is clicked a second time the form will be hidden
any idea how I can do this
[code=php]
<p style=”font-size:10px”><a href=”index.php?pw_id=pw”>Get new Password</a></p>
<?PHP
// displays the lost password form
$pw_id = $_REQUEST[‘pw_id’];
if ($pw_id == ‘pw’){ ?>
<form id=”form1″ name=”form1″ method=”post” action=”codeLostPassword.php”>
Email Address:
<input type=”text” name=”email_address” id=”email_address” />
<input name=”recover” id=”recover” type=”hidden” value=”recover” />
<input type=”submit” name=”Submit” value=”Submit” id=”Submit” />
</form>
<?php }else{
}
?>