Gość: mar
IP: *.tosa.pl
23.09.09, 23:00
Pytanie dla znawcy php. Mam kod forum, juz jest zainstalowane, i
wszystko idzie dobrze do momentu wchodzenia w nowa utworzona
kategorie, wywala mi taki blad:
Something is wrong in your syntax obok '.id as topic_id,
t.subject as t_subject, u.name as t_author, cou' w linii 1
SELECT SQL_CALC_FOUND_ROWS t.id as topic_id, t.subject as t_subject,
u.name as t_author, count(p.id) as numreplies, t.date_posted as
t_posted, tmp.postdate as re_posted FROM forum_users u JOIN
forum_posts t ON t.author_id = u.id LEFT JOIN tmp ON t.id =
tmp.topic_id LEFT JOIN forum_posts p ON p.topic_id = t.id WHERE
t.forum_id = 1 AND t.topic_id = 0 GROUP BY t.id ORDER BY re_posted
DESC LIMIT 0, 10