T_INLINE_HTML? What's Wrong With This?
fetch()) : ?>
Solution 1:
merge line 1 and 2
<? switch($data['type']):
case 'log': ?>
see the comment in this link (jeremia at gmx dot at 28-Jan-2008 02:52)
Solution 2:
The parser expects a T_CASE token but finds the newline after switch($data['type']) : ?>
.
switch (1) : ?> <? case 1: break; endswitch;
gives a parse error and so does
switch (1) : ?>\n<? case 1: break; endswitch;
while
switch (1) : ?><? case 1: break; endswitch;
does not. ;-)
Post a Comment for "T_INLINE_HTML? What's Wrong With This?"