
06-04-2004, 03:30 PM
|
 |
|
|
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by SaN-DeeP
Hi All,
I am getting this error.
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/sandeep/public_html/rock-ya-baby/0v0/myrig.php on line 157
my line 157 is here:
PHP Code:
INSERT INTO " . TABLE_PREFIX . "myrig_users (userid, text, processor_type, cpu_speed, oced_speed, mobo_manf, mobo_model, memory, video_card, video_chipset, 3DMark_2001SE, 3DMark_2003, Aquamark ,lastactivity) VALUES ($id, '" . addslashes($text) . "', '" . addslashes($processor_type) . "', '" . addslashes($cpu_speed) . "', '" . addslashes($oced_speed) . "', '" . addslashes($mobo_manf) . "', '" . addslashes($mobo_model) . "', '" . addslashes($memory) . "', '" . addslashes($video_card) . "', '" . addslashes($video_chipset) . "', '" . addslashes($3DMark_2001SE) . "', '" . addslashes($3DMark_2003) . "', '" . addslashes($Aquamark) . "', '" . time() . "')
|
Variables should not start with a number. Your variables 3Dblabla are the problem. Replace it or add something before it. That will solve your problem.
Cheers,
|