I have this array : [responses] => Array ( [0] => Array (
Please take a look at this code: <?php $array = new SplFixedArray(1); print "\nKey1: " . $array->getIterator()->key(); $array->setSize(5);
I have recently set up vsCode with PHP. However, it shows errors on following lines. public static function myFunction(): bool|string error : syntax error, un
I am using laravel "laravel/framework": "^8.75" version. When deployed the app turn APP_DEBUG=false but users get errors but they can not know what is wrong and
Here is my controller: <?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class RegisterControlle
I import a project on my local but I don’t have an access to the admin panel. I enter the right id/password, but after this, it's redirect me to
I'm trying to convert the json response below in $response variable to a callable function like $response->getStatus() so it can return failed. Here's the re
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