// Insert array values into database in laravel Laravel 33 3,371 Level 5 jsanwo64 OP Posted 6 years ago I have 3 different questions those are coming from database randomly. Now I want to insert the question_id, user_name and user_answer into 'answers' table. Data was inserted, but...
Laravel 1 305 Level 1 Vusumzi OP Posted 4 years agoHi all, I have this array called vakke I want to insert into the database array:15 [▼ "_token" => "VPC5jBKnYapzKv39aUsEFmDHJFwqKh1bqQ0lPp3M" "role" => "teacher" "last_name" => "Maya" "name" => "Vusumzi Maya" "...
In a form to make a "create" in the database, the user enters a code, I want the name associated with that code to be displayed below the field and also when the input is made the code becomes the id since it's a many-to-many relationship and I'm doing an attach. I hope it...