This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Wouter
Wouter

Hi, I try to insert something in a database in the backend. But I get the follow message call to a member function save() as on a non object.

 $myvar = DB::table('my_table')->insert(['border_stroke' => 'something in the db']);
$myvar ->save();

Do i something wrong to save it in the database ? What do I have to do so I can use save() ?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.