How to go back with button in blade Laravel?
I want to create a back button in any Blade file. What is the PHP syntax that will allow me to return to the previous page without redirecting? In principle I do not know in advance the link of the…
I want to create a back button in any Blade file. What is the PHP syntax that will allow me to return to the previous page without redirecting? In principle I do not know in advance the link of the…
Please help me, i want to share my data from the database to the child blade component and also return the views of the component. I'm using layouts with @yield in my parent layout. <body> @include('Layout.topbar') // this the component…
I'm using laravel 8 and I am trying to create a table for multiple inserts and in that table there is a dropdown that has already fetched data from the database. I have tried to enter code like this and…
how I can foreach data under foreach data came from database like this bellow. {"details":"Up to 5 Groups / Month","details":"Up to 30 CSV File Importing / Month","details":"Up to 5 SMTP Config","details":"Up to 5 Email Template Can Make and Edit","details":"Up to…
So I want to return some string from model and controller, but it always says undefined variable although it passed successfully when I check it with dd($a) and dd($b). What did I do wrong ? about.blade: @extends('layout.template'); @section('homeContainer'); <p> {{…
So i have codes that can search data based on relation columns, there are 2 search input, 1 of them work really well but the other one doesn't work. my Model Category id name Task id title category_id company_id Company…
I have a change email feature in my website, but the problem is it seems to be blocked by Microsoft Outlook (CSP, also I get this post link https://csp.microsoft.com/report/OutlookWeb-Mail-PROD) and the button does not respond to being clicked. It works…
laravel 10 multiple image uploading not working gives me a error error msg the code works fine when i modify the code to do it with one picture Controller View <form action="/addbg" method="post" enctype="multipart/form-data"> @csrf <input type="hidden" name="_token" value="{{ csrf_token()…
I have the following code in FreelancerControler: public function search(Request $request) { if ($request->ajax()) { $data = User::where('name','LIKE',$request->name.'%')->where('role','freelancer')->get(); $output = ''; if (count($data)>0) { foreach ($data as $user) { $output .= ' <div class="row freelancer p-1 m-1"> <div class="col-sm-3"> <img…
I'm using Laravel v9.19 and Vite v4.0.0. When I'm adding config.js file using @vite directive, it is always executing after all the html content is loaded. But, I'm trying to execute config.js file before all the html content is loaded.…