Jump to content

Can anybody help "$_POST" Related error


chandee77

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/67210-can-anybody-help-_post-related-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.