Jump to content

Undefined Varible Error


sparky

Recommended Posts

It has been a while since I have done much programming at all, and where I know I have been through this before I am getting an "Undefined Varible Error"

 

Where this works coming from a form submission:

 

echo $_POST["co1"];

echo $_POST["co2"];

echo $_POST["co3"];

 

This does not work:

 

$s1 = $_post["co1"];

$s2 = $_post["co2"];

$s3 = $_post["co3"];

 

What stupid function am I overlooking or doing wrong.

 

Thanks in advance.

John

Link to comment
https://forums.phpfreaks.com/topic/223021-undefined-varible-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.