Im trying to delete a record from my db when the amount is less than 1 or 0.
This is for a cart application
$aantal = $this->getCurrentAantal();
if ($aantal > 0 )
{
$aantal--;
}
else
{
return;
}
Aucun commentaire:
Enregistrer un commentaire