I am creating campaign.
In that campaign i want to add multiple products without refreshing page and store the detail of that products in database.
ProductCatalogController :
public function storeProduct(Request $request)
{
$this->validate($request, $this->rules);
$input=Input::all();
var_dump($input);
exit();
$campaign_product=ProductCatalog::create($input);
return redirect('product_catalog');
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2pNrhcA
via IFTTT
Aucun commentaire:
Enregistrer un commentaire