chandee77 Posted August 29, 2007 Share Posted August 29, 2007 Hay..Friends, I'm bit new to PHP and I do project with PHP I Used following cod segment to validate user name and Password, It work earlier.After some time(I do some other jobs) It is not working, the" $_POST["User Name"];" just pass null. '''''''''''''''''''''''''''' $Uname=$_POST["User Name"]; $conn=odbc_connect('login','sa','1234'); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT password,Username FROM Users where Username='$Uname'" ; $rs=odbc_exec($conn,$sql); ''''''''''''''''''''''''''''''''''''''''''''''''''' Could anybody same me..Please. Quote Link to comment https://forums.phpfreaks.com/topic/67210-can-anybody-help-_post-related-error/ Share on other sites More sharing options...
bwcc Posted August 30, 2007 Share Posted August 30, 2007 My first guess would be that the form has changed that specifies the "User Name" field. Check the form and make sure the text field is still named "User Name" - keep in mind that it is also case sensitive. Quote Link to comment https://forums.phpfreaks.com/topic/67210-can-anybody-help-_post-related-error/#findComment-337710 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.