my problem is as follows. I am currently generating a tax receipt for some orders (not all) in my woocommerce. but the customer would like for 3 of the 4 produc
I am trying to send context and payload to the Dialogflow V2 API. I am able to successfully send a queryString and get a response from my agent. However, I need
I have the following $_POST function to check if the fields of 'start', 'middle' and 'end' is empty or not. if(!empty($_POST['start'])) { $description = "a
I am getting this error when I try to use update method from my routes. The UPDATE method is not supported for this route. Supported methods: GET, HEAD, POST, D
I try to make hasMany relationship in Laravel and I have this problem. If I rename table name in Model to test, relationship works fine, seraching by my new tab
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: