Re: [PHP] unexpected $ error

2004-09-21 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: hi, i get the following error when trying to run this code (see below): Parse error: parse error, unexpected $ in /full path form.php on line 59 // if the submit buttons has been pressed if (isset($_POST['submit])) missing single quote if (isset($_POST['submit'])) // more c

Re: [PHP] unexpected $ error

2004-09-21 Thread bbonkosk
if (isset($_POST['submit])) (missing close apostrophe here...) if (isset($_POST['submit'])) - not sure if this is THE problem, but A problem for sure. -Brad - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, September 21, 2004 8:36 am Subject: [PHP] unexpecte

RE: [PHP] unexpected $ error

2004-09-21 Thread Jay Blanchard
[snip] [snip] // if the submit buttons has been pressed if (isset($_POST['submit])) { [/snip] Missing the second single-quote in $_POST['submit'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unexpected $ error

2004-09-21 Thread luke
hi, i get the following error when trying to run this code (see below): Parse error: parse error, unexpected $ in /full path form.php on line 59 i have checked for unclosed braces - none - and tried uploading the files in ascii format just in case but get the same same error. i have searched ma