salve, ho un problema vorrei prendere la tabella tags, e metterla in questa query:
ma non riesco ed mi segnala:codice:"SELECT utenti._user as _user , news_categorie.titolo as _cat , news.*, DATE_FORMAT(news.data,'%d/%M/%Y') as 'data_it', DATE_FORMAT(news.data,'%H:%i') as 'ore' FROM utenti INNER JOIN news ON utenti.id = news._userid INNER JOIN news_categorie INNER JOIN ON news.tag = tags.tag_name ON news_categorie.id = news._catid WHERE news.active=1 and tag LIKE '%".$db_tag."' ORDER BY data DESC"
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 'ON news.tag = tags.tag_name ON news_categorie.id = news._catid WHERE n' at line 4
avete idea?
uso Mysql e la classe MysqlI ad oggetti.
grazie mille.

Rispondi quotando
