- Code: Select all
SQL ERROR [ mysql4 ]
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 '1=0 ORDER BY forum_last_post_id DESC' at line 3 [1064]
SQL
SELECT * FROM phpbb_forums WHERE forum_id 1=0 ORDER BY forum_last_post_id DESC
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: gym_sitemaps/modules/rss_forum.php
LINE: 184
CALL: dbal_mysql->sql_query()
FILE: gym_sitemaps/includes/gym_sitemaps.php
LINE: 182
CALL: rss_forum->rss_main()
FILE: gym_sitemaps/includes/gym_sitemaps.php
LINE: 165
CALL: gym_sitemaps->load_module()
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 318
CALL: gym_sitemaps->load_modules()
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 128
CALL: gym_rss->rss_output()
FILE: gymrss.php
LINE: 21
CALL: gym_rss->gym_rss()
i know this is sql error but i wanna learn why this sql code is "forum_id 1=0" type ???
how i can fix it??

English |
French
