| | |
Parse Error in IF Statement
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2005
Posts: 2
Reputation:
Solved Threads: 0
In the follow code I am getting a parse error. I have another form that I use this exact same code on to handle the form and it works. Just lost...
if ($_POST['ClientLessVPN']) == 'Yes' { <-------------
$body2 = "Clint-Less VPN\n";
}
The first line of the code is where I am getting the parse error.
Thanks for any and all help.
if ($_POST['ClientLessVPN']) == 'Yes' { <-------------
$body2 = "Clint-Less VPN\n";
}
The first line of the code is where I am getting the parse error.
Thanks for any and all help.
•
•
•
•
Originally Posted by ashneet
Hi
I am probally not the best person to help you with this but I think I know where the problem is.
![]() |
Similar Threads
- Help. Parse error in PHP code (PHP)
- PHP5 - MySQL Parse error: (PHP)
- Need Help With Parse Error... (PHP)
- Parse Error message when testing page on browser - HELP!! (PHP)
- Parse error: (PHP)
- I need help with a parse error! (PHP)
- Parse error, syntax error, Forbids declaration (C++)
Other Threads in the PHP Forum
- Previous Thread: PHP and MS Word Docs
- Next Thread: On The Fly Edit
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include incode insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing paypal pdf php phpmysql play problem query question radio random recursion recursiveloop remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





