try{
$abcd = $cat->save();
var_dump($abcd);exit; // returns true
} catch (Exception $e){
echo '<pre>';print_r($e);exit;
}
Dumping the data just before save function is printing all correct.
Tried this code - it dumps as true but not getting updated in database. I have tried all known scenarios. Any exceptional cases that this can happen.?
primary key, id , .... and some other checks are already done. But no progress.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire