Crayz Posted April 23, 2006 Share Posted April 23, 2006 I am posting to ask how to store an input from an html form, heres an example:[u]my html form[/u]:[!--sizeo:4--][span style=\"font-size:14pt;line-height:100%\"][!--/sizeo--]Form.html[!--sizec--][/span][!--/sizec--]<form name="form1" method="post" action="email.php"><input name="email" type="text" size="45">And heres where I collect the input, but the input isnt stored.[!--sizeo:4--][span style=\"font-size:14pt;line-height:100%\"][!--/sizeo--]info.php[!--sizec--][/span][!--/sizec--]$email = $_POST['email'];How would I set $email as the input [b]for good[/b], not just for the time.Thanks Quote Link to comment Share on other sites More sharing options...
litebearer Posted April 24, 2006 Share Posted April 24, 2006 If 'for good' you mean forever and ever, use a mysql table or a text file. If you mean just while the visitor stays connected to you, then use session variables.Lite... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.