I am creating a PDF where I will need to display a range of data from customers. I have routes set up to load the PDF which work, and a controller to display the view, however i repeatedly get "Undefined variable: test" when trying to pass in data. I have tried methods given on stack ..
Category : undefined
I am creating a PDF where I will need to display a range of data from customers. I have routes set up to load the PDF which work, and a controller to display the view, however i repeatedly get "Undefined variable: test" when trying to pass in data. I have tried methods given on stack ..
I’m building an application where schools will register students to participate in a sport event. It works fine to register one student at at time, but I want the user to choose how many students they want to register at the same time. In the registration they need to check the different sports that the ..
after grouping urls with prefix in web.php I have created language switcher like this Route::redirect(‘/’,’/ge’); Route::group([‘prefix’ => ‘{language}’],function (){ Route::get(‘/’, function () { return view(‘welcome’); }); }); I tested it and it was working fine. now I need to add links ( language switcher) but after I do this I receive an exception and an ..

Hi i’m face problem with angular .. i have multiple parameters sent from backend(laravel) when open the link first time it’s shown the values inside parameters without any problem .. but when i’m going to next page the parameters values became undefined but when i go to next page(through pagination) it converted to undefined i ..
I have a distance education site developed with Laravel. It gives an error when filtering some pages. For example, when you click Library -> Homework Library on the student screen, the page opens. However, when I filter Select teacher on the page, it gives an error. Error code "ErrorException Undefined variable: videos ". Controller page ..
I want to insert data into multiple tables (one to one), but i get error and in my database the column "metode_id" is null. i want the "metode_id" is not null this is class "Transaksi" : class Transaksi extends Model { protected $table = "transaksi"; protected $primarykey = "id"; protected $fillable = [‘stok_kedelai’, ‘stok_ragi’, ‘harga_kedelai’, ..
I’m stuck in my ToDo App where I want to add a progress Bar for the completed tasks. I defined tasks in data in my TaskComponent.vue: data(){ return{ hook: ”, editmode: false, // todos: [], todos: { title: ”, completed: ”, and get the response data from the database using laravel: getTask(){ axios.get(‘api/task’).then(function(res) { this.todos ..
This is my jQuery function for appending new input fields. But after sending data, I always receive only the first inputs value in the request array. Blockquote var count = 1; $("#delete_button0").hide(); $(document).on(‘click’, ‘#add_button’, function () { $(this).remove(); var newLink=”; var lastCount = count – 1; newLink += ‘<div class="row">’+ ‘<div class="form-group col-lg-8">’+ ‘<input type="text" ..
I am having problems getting some routes to work. I have clearly declared some routes that just don’t show up in php artisan route:list, even after clearing the cache. Since I think this may be related to another line not being correct, I have pasted the entire routes file here. All the admin routes are ..
I am using laravel and I have a problem that I cannot find errors even though I have searched many and tried many different uses but I still get an Undefined variable: post error (View: C: xampp htdocs blog-news resources views layouts news.blade.php) Please help me, thanks !! This is my controller: <?php namespace AppHttpControllers; ..