这样写if else语句也能有错?????
我本来打算将这一段代码嵌入到php脚本当中,但是老是提示一个错误:
Parse error: syntax error, unexpected T_ELSE in C:\AppServ\www\demo\templates_c\1d7c7a527b6335cc7a623305ca940e1findex.tpl.php on line 14
<br /><?php if ($status) {?><br /><div>This is the first block.<br /></div><br /><?php } ?><br /><?php else {?><br /><div>This is the third block.<br /></div><br /><?php } ?><br />