Salve,
ho installato see-commerce su un server (MySql 4.0.24 standard)diverso da quello di seeweb (Mysql 4.0.20 standard).
Funziona tutto....quando però cerco di inoltrare l'ordine mi da un errore:
error in module: vet_trasporto
number: 1064
message: 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 achili >= order by rigo' at line 1
La stringa sql è questa:
$sql = "select * from vettori_pesi where codice = '$vet_cod' and dachili <= $vet_pes and achili >= $vet_pes order by rigo";
la tabella vettori_pesi è così strutturata:
# Struttura della tabella `vettori_pesi`
#
CREATE TABLE vettori_pesi (
codice char(3) NOT NULL default '',
rigo smallint(6) NOT NULL default '0',
dachili float(10,2) NOT NULL default '0.00',
achili float(10,2) NOT NULL default '0.00',
costo double(16,4) NOT NULL default '0.0000',
ts timestamp(14) NOT NULL,
PRIMARY KEY (codice,rigo)
) TYPE=MyISAM;
Dov'è il problema?
Avete suggerimenti?
Ringrazio anticipatamente ogni aiuto posssibile.