PHP form not working, help needed!!

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 359
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: PHP form not working, help needed!!

Post by freshnet » Tue May 29, 2012 2:35 pm

what's the error you get?

User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: PHP form not working, help needed!!

Post by Nullsig » Wed May 30, 2012 7:30 am

Can't use the _ before a variable. $_ in PHP is used to describe SuperGlobals.

User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: PHP form not working, help needed!!

Post by Nullsig » Thu May 31, 2012 4:54 am

$submit == "Submit"

User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: PHP form not working, help needed!!

Post by Nullsig » Thu May 31, 2012 11:01 am

Sorry I should have fully read...

Code: Select all

if($_POST['Submit'] == "Submit')

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests