jeudi 21 novembre 2019

How to change storage::get to database (Laravel 5.2.45)

I have code like this:

$netral = Storage::get('public/netral.txt');
$tweets_netral = explode("\n", $netral);
array_shift($tweets_netral);
return view('contents.training')->with('tweets_netral',$tweets_netral);

So how change it to database? data can transfer to my database, not on my file.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire