Qualcuno può aiutarmi per favore?
Ecco il codice:
Ecco il codice:
PHP:
{
if (array_key_exists($i, $_SESSION["commande"]["type"]) && $_SESSION["commande"]["type"] != NULL)
{
for ($j = 0; $j < $_SESSION["commande"]["quantite"][$i]; $j++)
{
$desc = str_replace("<br />", " - ", $_SESSION["commande"]["prod"][$i]);
$desc = strip_tags($desc);
$sqlcommande .= "'', '".date("Y-m-d")."', '".$_SESSION["commande"]["type"][$i]."', '".addslashes($desc)."',".number_format((float)$_SESSION["commande"]["prix"][$i], 2, '.', ' ')."";
}
}
}