Salve,
Dopo aver modificato il seguente privilegio di un utente:
Possibilità di vedere la tabella dei mesi: Si Solo con "prenotazioni proprie" e camere consentite "a lui"
visualizzando la tabella prenotazioni per mese, il programma genera il seguente errore:
<-- Tabella prenotazioni del 5-2012. -->
ERROR IN: select * from prenota2012 where iddatainizio <= '152' and iddatafine >= '121' and (idappartamenti is NULL or ()) and ( utente_inserimento = '3' or utente_inserimento = '2' )
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 ( utente_inserimento = '3' or utente_inserimento = '2' )' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mioserver/web/hoteldruid/includes/funzioni_mysql.php on line 104
Qualche idea su come risolvere la cosa?
Grazie.
Piergiorgio
Errore 1064: You have an error in your SQL syntax
Moderator: marco
Re: Errore 1064: You have an error in your SQL syntax
Ciao Piergiorgio,
prova a sostituire il file tabella.php con questo:
http://www.digitaldruid.net/download/tabella.zip
Saluti,
Marco
prova a sostituire il file tabella.php con questo:
http://www.digitaldruid.net/download/tabella.zip
Saluti,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Re: Errore 1064: You have an error in your SQL syntax
Ciao Marco.
Risolto col tuo file, grazie!
Piergiorgio
Risolto col tuo file, grazie!
Piergiorgio