This is a discussion on "syntax error: unexpected T_BOOLEAN_AND..." within the PHP Forum section. This forum, and the thread "syntax error: unexpected T_BOOLEAN_AND... are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
syntax error: unexpected T_BOOLEAN_AND...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
syntax error: unexpected T_BOOLEAN_AND...
i'm receiving the error unexpected T_BOOLEAN_OR for the following line of code:
i thought it might have something to do w/ single vs double quoted strings, but this line produces the same error:
Stumped in the Valley (PS: ya know, i avoided posting this question because i think it seems so "obvious"... ugh!) |
|
|
|
||||
|
Re: syntax error: unexpected T_BOOLEAN_AND...
try using this code instead:
|
|
|||
|
Re: syntax error: unexpected T_BOOLEAN_AND...
Off the top of my head it looks to me like you missed a ) at the end
(($_POST['date']) == '') { Should be (($_POST['date']) == '')) { |
|
|||
|
Re: syntax error: unexpected T_BOOLEAN_AND...
Benbacardi's method would solve the issue, however to be much more easly read, I would write it like this
Further more, I would do this
Last edited by Pheonix; Jan 28th, 2006 at 07:32. |
![]() |
| Tags |
| syntax, error, unexpected, t_boolean_and |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] parse error, unexpected T_EXIT in php mail script | Posie | PHP Forum | 8 | Dec 13th, 2007 14:21 |
| [SOLVED] error in SQL syntax but where it all looks fine to me | Andrew1986 | Databases | 3 | Nov 28th, 2007 01:21 |
| syntax error... | ktsirig | Databases | 2 | Feb 4th, 2007 14:48 |
| Annoying little syntax error | adeking | Web Page Design | 4 | Aug 9th, 2006 13:50 |
| error in SQL syntax | Drgreenfingers | Databases | 10 | Jan 30th, 2006 02:00 |