DB Error: syntax error
select program_name, version, t.program_type_value as program_type, cost as program_cost, program_size, descr45, descr80, descr250, descr450, descr2000, site_url, buy_now_url, icon_url, screenshot_url, download_url1, download_url2, system_req, p.company_id as company_id, c.name as company_name, c.country as company_country, c.city as company_city, keywords from products p, companies c, programtype t where product_id = and p.company_id = c.company_id and p.type = t.program_type_id [nativecode=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.company_id = c.company_id and p.type = t.program_type_id' at line 1]