
06.09.2008, 09:48
|
|
Участник форума
Регистрация: 17.06.2008
Сообщений: 214
Провел на форуме: 964766
Репутация:
228
|
|
Ну вот. Приехал  ... Не пойму в чем ошибка:
Составляю: http://site.ru/?cat=103&id=1/**/order/**/by/**/100/*
Вылазит:
Код:
MySQL Error...
SQL Query: select * from fotocatalog where m_id = '0' and status != 'del' and p_id = '1/**/order/**/by/**/100/*' order by date desc limit -2575, 25
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 '-2575, 25' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/***/***/***.ru/test.php on line 84
Перепробовал уже и /**/ и + и %20 , все одно и тоже вылазит. Также пробовал and и другие - в результате 0...
*призадумался 
|
|
|