Problema 2: quando provo a modificare un "prodotto" esce questo 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
- dal DBQUERY.PHP la parte che riguarda l'update
function UpdateProduct($client, $data, $descriere1, $descriere2, $servicii, $link, $path_det, $path_off)
{
$strSql = "Update products SET client='".$client."', data='".$data."', descriere1='".$descriere1."', descriere2='".$descriere2."', servicii='".$servicii."', link='".$link."', path_det='".$path_det."', path_off='".$path_off."'";
$strSql = $strSql . " WHERE id = " . $id;
return $strSql;
}