Overtone Posted February 10, 2010 Share Posted February 10, 2010 im trying too do something really simple and am horrified that i can find any decent way too do it. i have an fwrite file set up fine. and a textbox in html that inputs an email heres my html code Email: <input type ="text" name ="Email Address"/> my php is like this: $email = Email; i figured that would work but php automatically thinks Email is a string how do i get $Email to equal the data type thats inputted on the text box. Link to comment https://forums.phpfreaks.com/topic/191644-help-with-fwrite/ Share on other sites More sharing options...
PHP Monkeh Posted February 10, 2010 Share Posted February 10, 2010 It depends whether your form method is POST or GET: $email = $_POST['Email Address']; or $email = $_GET['Email Address']; Link to comment https://forums.phpfreaks.com/topic/191644-help-with-fwrite/#findComment-1010175 Share on other sites More sharing options...
Overtone Posted February 10, 2010 Author Share Posted February 10, 2010 its a post. thanks mate Link to comment https://forums.phpfreaks.com/topic/191644-help-with-fwrite/#findComment-1010179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.