Thanks that helped.
Now I get this error:
Code:
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL:
SELECT username
FROM vbuser
WHERE userid =;
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 '' at line 3
Error Number : 1064
Date : Monday, September 5th 2005 @ 09:35:22 AM
Script : http://www.eternaltide.net/test/admincp/qas.php?&do=qaslink&u=1
Referrer :
IP Address : XX.XXX.XXX.XX
Username : Admin
Classname : vb_database
This is what its referring to:
PHP Code:
$vbulletin->input->clean_array_gpc('r', array( 'u' => TYPE_UINT));
$user = $db->query_first("
SELECT username
FROM " . TABLE_PREFIX . "user
WHERE userid = $u
");
thanks Merk for your help
Myth