I'm trying to do simple insertion in database and im getting the following error
call_user_func_array() expects parameter 1 to be a valid callback, no
array or string given
The insertion code look like this
DB::insert('insert into users (id, name) values (?, ?)', array(1, 'Dayle'));
< /code>
Это основной запрос для Laravel, но он не будет работать, почему? < /p>
Подробнее здесь: https://stackoverflow.com/questions/274 ... sert-query