KiwiDexter
Jan 31st, 2008, 01:13 AM
Parse error: syntax error, unexpected T_DEFAULT
// Script flow
switch($mod) {
case 'doadd':
die('executed doadd code');
break;
case default:
addgroup();
break;
}
error occurs around the "case defualt" line. Can't see anything wrong.
// Script flow
switch($mod) {
case 'doadd':
die('executed doadd code');
break;
case default:
addgroup();
break;
}
error occurs around the "case defualt" line. Can't see anything wrong.