error:
Parse error: syntax error, unexpected $end in /home/.bocephus/stuff/public/index.php on line 254
Code: Select all
<?php
switch ($level)
{
case USERLEVEL:
echo <<<DONE
html
DONE;
break;
case STAFFLEVEL:
echo <<<DONE
html
DONE;
break;
case ADMINLEVEL:
echo <<<DONE
html
DONE;
break;
default:
echo <<<DONE
html
DONE;
break;
}
?>USERLEVEL=1
STAFFLEVEL=3
ADMINLEVEL=5