Log in

View Full Version : MySQL Error


armatik
10-04-2007, 02:09 AM
http://pastebin.ca/725089

This is the error I'm getting:

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[tournid],
Array[added_by],
Array[played],
' at line 40
Error Number : 1064

I have no idea what's going on here, someone please help me. :(

Dismounted
10-04-2007, 04:48 AM
You can't use $vbulletin->GPC[32id] directly. You need to either one of the following examples (with the first being preferred):
" . $vbulletin->GPC['32id'] . "
OR
{$vbulletin->GPC[32id]}

armatik
10-05-2007, 12:44 AM
I knew it was something like that. Thank you!