Log in

View Full Version : Need help, someone who knows php :-\.


d3adlythegame
06-19-2005, 04:45 PM
oaky, so i got ths error -

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/sports/public_html/forums/admincp/arcadeadmin.php on line 270

i went to line 270 and here it is - i dont know wht is wrong, can anyone fix this ? :(

$menu .= "<tr onClick=\"document.getElementById('id').innerHTML = ".$games[shortname]."id;document.getElementById('descr').innerHTML = ".$games[shortname]."descr;document.getElementById('title').innerHTML = ".$games[shortname]."title;document.getElementById('cost').innerHTML = ".$games[shortname]."cost;document.getElementById('jackpot').innerHTML = ".$games[shortname]."jackpot;document.getElementById('increase').innerH TML = ".$games[shortname]."increase;document.getElementById('showaward').inne rHTML = ".$games[shortname]."showaward;document.getElementById('challenabled'). innerHTML = ".$games[shortname]."challenabled;document.getElementById('playpanel'). innerHTML = ".$games[shortname]."playpanel;document.getElementById('active').innerH TML = ".$games[shortname]."active;document.getElementById('netplay').innerHTM L = ".$games[shortname]."netplay;document.getElementById('uptbut').innerHTM L = ".$games[shortname]."upbuttext;\">


thanx :)

Reeve of shinra
06-19-2005, 04:58 PM
Look at the line above that, your missing a ; or a , at the end.

deathemperor
06-19-2005, 05:06 PM
it would be best if you include "; at the end