Page 1 of 1

parse error

Posted: Tue Jan 19, 2010 5:52 pm
by michaelk46
I keep getting a parse error on this line

Code: Select all

 
elseif (isset($_POST['check'])) || (isset($_POST['fields']))
 
but I don't get the error if I remove one or the other arguments...

Any Ideas why?

Posted: Tue Jan 19, 2010 5:56 pm
by Jonah Bron
PHP expects all condition statements to be enclosed in one set of braces.

Re: parse error

Posted: Tue Jan 19, 2010 5:58 pm
by michaelk46
Ahhhh... I had a feeling it was a smqll issue...