Nejčtenější články


Štítky podle popularity


Can't execute query

		SELECT 
		sw_tags.id, sw_tags.name, sw_tags.label, sw_tags.description

		FROM 
		sw_tags, sw_tags_rel

		WHERE
		sw_tags.id = sw_tags_rel.id_tag
		AND sw_tags_rel.table_name = 'sw_pages'
		AND sw_tags_rel.table_id = 
		AND sw_tags.service<>1 AND sw_tags.virtual<>1  AND sw_tags.author<>1 AND sw_tags.zdroj<>1 AND sw_tags.podbarveni<>1
		AND sw_tags.ext_value<>'serial'
		AND sw_tags.lang='cs'
	

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 'AND sw_tags.service<>1 AND sw_tags.virtual<>1 AND sw_tags.author<>1 AND sw_tags' at line 11

This script cannot continue, terminating.