MYSQL Sorgu Hatası

0 Cevap php

Ben bu sorguyu kullanmaya çalışıyorum

$page_set = mysql_query("SELECT * FROM pages WHERE subject_id =
            {$subject["id"]}", $connection);

ama benim sayfasını yüklerken bu hatayı alıyorum.

Database query failed: 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 '' at line 1

0 Cevap