I create a table with display details from the enter code heredatabase. The date from the database is displaying but I want to increase this displaying date by adding 3 days it will give me an effective date.
foreach ($data as $key => $priceBookDetail) {
$dd = array();
array_push($dd, $i);
array_push($dd, $priceBookDetail->priceBook->name);
array_push($dd, $priceBookDetail->product->category->category_name);
array_push($dd, $priceBookDetail->product->short_code);
array_push($dd, $priceBookDetail->product->product_name);
array_push($dd, $priceBookDetail->effective_date);
array_push($dd, $priceBookDetail->price);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire