Hi I have the following code I use on a signup form
<? if($_GET[friendid]!=''){?>
<input type="hidden" name="friendid" value="<?=$_GET['friendid']?>">
<? }?>
The problem is as soon as someone enters something wrong on my signup form they are redirected to the main signup form showing the errors they made, I need to maybe set the $_GET['friendid'] as a session if it exist, then change my code to look for session instead of get can someone help format this for me?