Hello
has anyone tried this code
$total =’[total]’;
$sql = “INSERT INTO sales
(total,date,stateid)
VALUES
(’[$total]’,NOW(),1);”;
sc_exec_sql ($sql);
sc_redir(dashboard);
can anyone correct me this code please ?when i am outputting the total value i always get 0 value in the database!
i tried with scriptcase support they didnt help much.
thanks for your help
aras saeed