thefollower Posted November 4, 2007 Share Posted November 4, 2007 I have a form which is meant to post a value to the process page but it wont obtain it.. this is what i have withing my form: <input type="text" id="check" style="position:absolute;left:326px;top:620px;width:144px;font-family:Courier;font-size:19px;z-index:1" size="16" name="Username" value=""> <input type="submit" id="Button2" name="Checker" value="Check Now!" style="position:absolute;left:290px;top:650px;width:210px;height:24px;z-index:13"> Then i got: If (isset($_POST['Checker'])) { $Username = mysql_real_escape_string($_POST['check']); Echo $Username; } The echo produces nothing =/ Quote Link to comment Share on other sites More sharing options...
marcus Posted November 4, 2007 Share Posted November 4, 2007 The username input name is "Username" not "Check" Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 4, 2007 Share Posted November 4, 2007 id="check" is true, however, id's are not use to assign values to variables, the name attribute is. 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.