Jump to content
php.lv forumi

sintakse


anonīms

Recommended Posts

mysql_query("SELECT id, bilde, nosaukums WHERE kategorija = 'radiatori'")

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 'WHERE kategorija = 'radiatori'' at line 1

 

Kādēļ met sintakses kļūdu? mēģināju arī bez ('), bet tāpat rāda.

 

 

eh, jau kuro reizi aizmirstu FROM.

Edited by anonīms
Link to comment
Share on other sites

×
×
  • Create New...