Aiuto!! Ho problemi con i risultati della pagina di ricerca
Inviato: 17/12/2004, 18:44
Non riesco a risolvere questo maledetto tarlo Mysql nella pagina di ricerca, le ho provate tutte, ma senza risultato.
C'è qualcuno che mi aiuti a risolvere questo maledetto errore?
Grazie e saluti
1064 - You have an error in your SQL syntax near 'distinct p.products_id) as total from products p left join manufacturers m usin' at line 1
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%fghgfh%' or p.products_model like '%fghgfh%' or m.manufacturers_name like '%fghgfh%' or pd.products_description like '%fghgfh%') )
[TEP STOP]
C'è qualcuno che mi aiuti a risolvere questo maledetto errore?
Grazie e saluti
1064 - You have an error in your SQL syntax near 'distinct p.products_id) as total from products p left join manufacturers m usin' at line 1
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%fghgfh%' or p.products_model like '%fghgfh%' or m.manufacturers_name like '%fghgfh%' or pd.products_description like '%fghgfh%') )
[TEP STOP]