errore 1064 SQL syntax

Postate qui discussioni di carattere generale riguardo a problemi di installazione e configurazione di osCommerce

Moderatore: mod Generali

Rispondi
Avatar utente
zimo
membro Baby
membro Baby
Messaggi: 55
Iscritto il: 17/11/2004, 1:00
Località: ITALY
Contatta:

errore 1064 SQL syntax

Messaggio da zimo »

qualcuno sa dirmi che tipo di errore è questo? e come si corregge?
compare quando eseguo una ricerca (ad esempio "Mario") tra i miei clenti

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 'where c.customers_lastname like '%carone%' or c.customers_first

select count(*) as total from customers c, address_book a, customers_info ci where c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id and c.customers_id = ci.customers_info_id where c.customers_lastname like '%carone%' or c.customers_firstname like '%carone%' or c.customers_email_address like '%carone%'


grazie.. 8)
zimo
Rispondi