$innp = $DBD->conn()->prepare('INSERT into prices (winkel_id,cat_id,product_id,merk,fromPrice,prijs, verzend_kosten, productUrl,verzend_tijd, aanpas_datum ) values (?,?,?,?,?,?,?,?,?,?) ');
$innp->bind_param( "ssssssssss",$winkelid,$t['cat_id'],$t['prid'],$merk,$t['fromPrice'],$t['prijs'],$t['verzend_kosten'],$t['productUrl'],$t['verzend_tijd'],$aanpas_datum );
if (!$innp->execute())
{
$error = $innp->error;
echo $error; echo 'dfdfdf';
$innp->close();
}
deze staan aan:
ini_set('display_errors',1);
error_reporting(E_ALL);
snap er helemaal niks van, want werkte altijd.