undefined variable
Posted: Sun Oct 20, 2002 8:30 am
I am a new php programmer......can someone please point me in the right direction....
I have a simple form starting with:
"<form method=POST action="login.php">
in login.php, I have:
if ($REQUEST_METHOD == "POST")
and when I try to run this, I get:
"Undefined variable: REQUEST_METHOD...."
.........next is a similar problem:
When I try to run the php file (the second example on the page) in:
http://hotwired.lycos.com/webmonkey/99/ ... rogramming
I get:
"Undefined variable: id "
Can someone please help me with this undefined variable problem, please?
Thanks so much in advance!
I have a simple form starting with:
"<form method=POST action="login.php">
in login.php, I have:
if ($REQUEST_METHOD == "POST")
and when I try to run this, I get:
"Undefined variable: REQUEST_METHOD...."
.........next is a similar problem:
When I try to run the php file (the second example on the page) in:
http://hotwired.lycos.com/webmonkey/99/ ... rogramming
I get:
"Undefined variable: id "
Can someone please help me with this undefined variable problem, please?
Thanks so much in advance!