Pagina 1 di 1

Errore SQL per utenti registrati

Inviato: 20/09/2004, 22:13
da MrViper
Se accede un utente registrato e tenta di acquistare un prodotto appena clicca sul pulsante acquista questo è quanto viene mostrato.

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 '' at line 1

delete from customers_wishlist WHERE customers_id=1 AND products_id=

[TEP STOP]

Uso il pack K-com di Phobos
Che cosa vuole stavolta??

Re: Errore SQL per utenti registrati

Inviato: 27/09/2004, 0:07
da mustafa
MrViper ha scritto:Se accede un utente registrato e tenta di acquistare un prodotto appena clicca sul pulsante acquista questo è quanto viene mostrato.

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 '' at line 1

delete from customers_wishlist WHERE customers_id=1 AND products_id=

[TEP STOP]

Uso il pack K-com di Phobos
Che cosa vuole stavolta??
un errore di sintassi!

manca qualcosa, forse un ' o un ;

inizia a guardarti i sorci e risali all'errore.

Inviato: 28/09/2004, 1:00
da Giacomo
E' nullo il valore di products_id. Infatti dopo l'uguale non c'è nessun valore, e questo a mysql non piace. Guarda se la variabile è presente nella pagina con l'errore.