Are you running save()
method on $insert
model after assigning those values? Like this:
$insert = new Searchword();
$insert->keyword = $searchString;
// ...
$insert->save(); // <- this method performs real saving to the database
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community