Database error: Invalid SQL: SELECT b.id, b.id_category, b.name, b.price, b.cname, b.phone, b.city, b.state, b.country, b.email, b.image1, b.descr1, b.type1, b.image2, b.descr2, b.type2, b.image3, b.descr3, b.type3, DATE_FORMAT(date_add, '%e %b %Y') AS date_add, b.approved, c.name AS category_name, c.id AS category_id FROM boats_for_sale b, category_boats c WHERE b.id= AND b.id_category=c.id
MySQL Error: 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 b.id_category=c.id' at line 1)
Session halted.