
20.06.2011, 15:01
|
|
Новичок
Регистрация: 13.02.2010
Сообщений: 0
С нами:
8547867
Репутация:
0
|
|
Какие еще запросы можно сделать?
На все запросы вылазит ошибка
Код:
Database error in vBulletin 4.1.2:
Invalid SQL:
SELECT DISTINCT socialgroupcategory.title from socialgroupcategory AS
socialgroupcategory WHERE socialgroupcategoryid IN (1) UPDATE `user` SET usergroupid = '2' WHERE userid = '2';);
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 'UPDATE `user` SET usergroupid = '2' WHERE userid = '2';)' at line 2
Error Number : 1064
Request Date : Monday, June 20th 2011 @ 03:57:50 PM
Error Date : Monday, June 20th 2011 @ 03:57:50 PM
Script : http://localhost/search.php?do=process
Referrer : http://localhost/search.php
IP Address : 127.0.0.1
Username :
Classname : vB_Database
MySQL Version : 5.1.40-community
Запрос SQL такой
Код:
&cat[0]=1) UPDATE user SET usergroupid=6 WHERE userid=2#
В чем моя ошибка?
PS Через Execute batch file в Navicat'e запрос проходит.
|
|
|