GRESHKA:

		SELECT
			t1.novina_id
			, t1.album_id AS id
			, t1.red
			, obimg.ifile
			, obimg.width
			, obimg.height
			, obimg.ime AS albimeimg
		FROM novina2album t1
			LEFT JOIN
				(
				SELECT DISTINCT
					t3.album_id
					, t4.ifile
					, t4.width
					, t4.height
					, t5.ime
				FROM album2img t3, img t4
					INNER JOIN img_ezik t5
						ON
						(
						t4.img_id = t5.img_id
						AND ezik_id = 1
						)
				WHERE t3.img_id = t4.img_id
				) AS obimg
				ON t1.album_id = obimg.album_id
		WHERE t1.novina_id =  AND t1.red = 1
	

MYSQL KAZA:

#1064 - 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 t1.red = 1' at line 28

Българската асоциация на сомелиерите и виноценителите (БАСВ) — Дегустации

Notice: Undefined variable: onlyTheFirstOne in /home/bgsommelier/public_html/templates/novina.php on line 103


Notice: Undefined variable: news_title in /home/bgsommelier/public_html/templates/novina.php on line 107


Notice: Undefined variable: news_short in /home/bgsommelier/public_html/templates/novina.php on line 108

Дегустации

Notice: Undefined variable: news_html in /home/bgsommelier/public_html/templates/novina.php on line 112
8