In this way, an error can occur when writing an ifelse statement ????? I was going to embed this piece of code into a php script, but it always prompts an error: Parse & nbsp; error: & nbsp; syntax & nbsp; error, & nbsp; unexpected & nbsp; T_ELSE & nbsp; in & nbsp; C: \ this way, if else statements can be written in the same way ?????
I was going to embed this piece of code into a php script, but it always prompts an error:
Parse error: syntax error, unexpected T_ELSE in C: \ AppServ \ www \ demo \ templates_c \ 1d7c7a527b6335cc7a623305ca940e1findex. tpl. php on line 14
This is the first block.
This is the third block.
Error message in zend studio
I hope the experts can help me. I hope my younger brother will be in full swing !!! Thank you !!!!!
------ Solution --------------------
There's no problem with this section you just gave. are you still using braces?
------ Solution --------------------
It feels okay. how do you get this $ status?
------ Solution --------------------
In this way, no error is prompted.