PDA

View Full Version : Hidden Syntax Error?


Kacela
03-15-2006, 10:59 PM
I'm trying to nail down a problem with some code, and I think I've narrowed it down to this chunk of code: case 'play':
$userinfo['action'] = $vbphrase['ibproarcade_playing_game'];
$userinfo['where'] = '<a href="arcade.php?' . $vbulletin->session->vars['sessionurl'] . "do=play&amp;gameid=$gameid\">$gametitle</a>";
break;
case 'stats':
$userinfo['action'] = $vbphrase['ibproarcade_viewing_highscores'];
$userinfo['where'] = '<a href="arcade.php?' . $vbulletin->session->vars['sessionurl'] . "do=stats&amp;gameid=$gameid\">$gametitle</a>";
break;
default:
$userinfo['action'] = $vbphrase['ibproarcade_viewing_home'];
$userinfo['where'] = '<a href="arcade.php' . $vbulletin->session->vars['sessionurl_q'] . "\">$vbphrase[ibproarcade_home]</a>";
break;Something's not right with the first case statement, and I'm going bonkers trying to figure out what and where the syntax error is. I need more eyes to look at this - mine are starting to go buggy. Any input would be appreciated. I'm not a coder, so I can't post this in the coding section. Thanks. :)

Xenon
03-15-2006, 11:13 PM
i don't see a syntax error there