I know a lot has been documented on about laravel sanctum configuration to avoid blocked requests from your spa frontend, but something that is not quite clear
I am using out of the box Laravel 9 / php 8.1 combo and loading initial page for 190ms sounds horrible. Last project I built used laravel7 and the response time
I have this array with certain brand_ids, within these brands I have an array of dates in which a sale occured but these are based on the products in sale so th
On a WordPress website I'm using Contact Form 7 and Flamingo to manage contact forms, and store the data. I've been using [_serial_number] in my emails to ident
below is mysql code that creates for me a pivot table in mysql. i have tried to run it in php but it doesn't work. how can i execute the code in php so that i c
So I have a table called styles which has classes and styles for various places in blade templates. The table has a unique column the name and a column for clas
I have a simple issue in my PHP project I made a small application that gives you the possibility to fill the form fields and stored all the data inside a .txt
I'm trying to add a new Post but whenever i submit i get the above error message. This is Route: Route::get('/p/create' , [App\Http\Controllers\PostsController:
Controller: $html = ""; $user_id = 10; $by = 'By Aaron'; $getLedgerData = "getLedgerData('" . $user_id. "','" . $by . "')"; $html .= "<a onclick=" . $getLedg
Tried to upload .tiff images using Laravel. used intervention/image for the image upload. it's not worked.shows this message. Unsupported image type image/tiff.
I get the following error when I try to install Laravel Spark: Your requirements could not be resolved to an installable set of packages. Problem 1. - laravel/
I have an array, made by using explode and the delimiter #. I'm trying without success to create from this big array in PHP subarrays (the num
I am trying to create a certificate with PHP with library openssl . The code is: global $gbl, $login, $ghtml; $today = date("m.d.y") + rand(1,10000); $cerpath
I have two types of bbcode: [attach]1234[/attach] [attach=full]1234[/attach] $message = 'this is message with attach [attach=full]1234[/attach] I want to remov
I am retrieving data from ZK attendance device using zkteco-sdk-php. The out come is like this UID ID NAME STATE DATE TIME TYPE 55 275 Employ1 Fingerprint 19-0
This is a fresh laravel app that I am using to learn. There is no current table as this would be a fresh/first time migration. Why is it giving me this error:
Hi in the below code I want to add a redirect page in both cases failed or success. Where do I need to put the code? <?php // (A) PROCESS ORDER FORM if (is
In laravel Many to Many relationship like the one in the Laravel Documentation example. https://laravel.com/docs/9.x/eloquent-relationships#many-to-many users
I'm struggling to create a php gallery slideshow and was hoping someone could recommend how to do this part.. The below code is taken from w3schools and works w
I don't know if it's a good practice or what ever, but I would like to dispatch an event when an order is created, then I wish catch this event inside a control