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 Link to comment https://forums.phpfreaks.com/topic/8189-phphtml-forms/ 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... Link to comment https://forums.phpfreaks.com/topic/8189-phphtml-forms/#findComment-29970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.