HIRO@
max_chibi****@ybb*****
2004年 4月 1日 (木) 17:20:36 JST
お世話になります。HIROです。 mklist.phpの組み込みをしているのですが、エラーが出て、list.htmlを形成できま せん。 SQLに関係したエラーのようなのですが、何が悪いのかよくわからないのです。 どうかご指導よろしくお願いいたします。 エラーの内容 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 p.products_id=d.products_id and p.products_id=t.products_id SELECT p.products_id, d.products_name, p.products_model, t.categories_id, c.categories_name, p.products_status, k.status FROM products p, products_description d, products_to_categories t, categories_description c, categories k WHERE p.manufacturers_id= and p.products_id=d.products_id and p.products_id=t.products_id and t.categories_id=c.categories_id and t.categories_id=k.categories_id ORDER BY c.categories_name , p.products_model