I have one system (Symfony 5, symfony/messenger) sending data to another (Symfony 3.4, enqueue/enqueue-bundle 0.9) using a rabbitmq queue. The data is used to c
I'm trying to migrate from my old PHP 5.4.45 + Smarty 2.6.28 to my new PHP 7.2.25 + Smarty 3.1.33. I'm tuning some small pieces of code, it works in most of we
I have a list and I want to let users reorder the list. For the front-end functionality, I am using UIkit. The list can be reordered on the front end up but I a
How to delete the aircon in database when there is no any data. Order and Aircon are many to many relationship. $orders = Order::with('aircons', 'user')
I have a pdf invoice format and want to generate xml invoice format as per ZATCA if any did it please need help. I saw this in mPDF but didn't figure it out how
include("src/database.php");#this included file works wll $query=mysqli_query($conn,"SELECT * FROM students limit 1"); $data=mysqli_fetch_assoc($query); echo "m
My client interconnection socket = io.connect('http://localhost:3000', { transports : ['websocket'] }); Before adding transport, it was not connecting on the cl
obs: using translator I have a problem on my website, every time this is sending the normal email, but it looks like an error message, in the template I got, it
I am upgrading to PHP 8 and getting the following warning: Function libxml_disable_entity_loader() is deprecated What I have: This code saves the current entity
I have an array where a key has multiple values. The key is the width of a product and the values are optional prices. The customer first chooses a width and th
I want to generate 'Image inside QR CODE' with dynamic url and Image. I have mentioned the below error and code. Used the https://www.simplesoftware.io/#/docs/s
How do I optimize these queries to be one or two? The one in the loop to be one at least. $applicantIds = \DB::select()->from( 'applicants' )->where( 'cre
I have this two array. I want to make a array inside an array like this. How can I achieve that. Code posted below. This is the image I am sending inside fileTo
I made a custom component with a table that needs some filters. I render the filter fields on my view by doing this: This is the code inside tmpl/supportcases/d
I'm trying to loop through a json response with ajax jquery but I can't display the result. Here is the code Im using: data.php function platformsList(){ $q
Update: This line of code in the frontend was the culprit: <inertia-link v-if="options.edit" :href="'/admin/gallery/edit/1'"> I had to change it to: <
I want to retrieve a remote hosted image with php. The image exists, I can access to it with my browser. However the result of the curl_exec() is empty and the
I'm similar to php and don't undestand what is the problem. Sometimes php function send me empty messages like Vanema nimi Lapse nimi: Linn: Telefoninumber: Ema
So I just started a Laravel Project with Breeze, and I wanted to change the default table users , the problem is it didn't work, I did my research for days and
So I am trying to implement a stripe webhook to listen to various events. Basically I have my php application running live, say on "http://example.com". I have