I have noticed that when passing html string to htmlpurifier, it replaces all self closing tags either by open and closing tags or by just open tags example Be
My code suddenly started working really slow. I don;t see any reason, noting was changed or updated. return response()->json([ 'status' => 'su
I'm calling the 'Referring site URL' in a post array... data34' => $lead->getReferringSiteUrl(), But need to replace it with a friendly name. i.e. If www.
So I have this table with a start time and an end time and I am calculating hours. This works just fine unless the end time is midnight. I have TIME fields in m
I am trying out prepared statements, but the below code is not working. I am getting the error: Fatal error: Call to a member function execute() on a non-objec
I'm trying to add a new field in the usage restriction of coupons. Here is my code: function add_coupon_cpt_field() { $value = get_post_meta( $post->ID,
I have a problem with my PHP and MySQL code. I was creating a private messaging system but unfortunately, each time I reload the page, the las
I want to truncate in Laravel text from database with HTML Tag, for example: <p>Hi. I want to say about my story. </p> I found a method: {{ Str::li
I'm struggling to complete a Amazon Pay transaction in PHP. First of all I followed this guide https://developer.amazon.com/de/docs/amazon-pay-checkout/get-set-
I've a GET request in PHP that receives data in JSON as below. { "data": { "id": "1cc58ad2-ccfd-4ede-a6a6-35809c81cb8a", "
How do you create the row actions to be like this (screen shot from documentation) To see just 3 dots and click on them and then show the buttons? This is the
I am able to do this with IPv4 using code snippets from various online sources. I was wondering if there was a way to do it with IPv6. Basically I just need a f
After upgrading Laravel 5.8 to 6.0 I get the below error: local.ERROR: Missing required parameters for [Route: playlist-song.show] [URI: public/admin/playlist-
I have a template that change the style if into an input is set the "value" attribute or not, even if it is empty. For example this: <input type="text" class
Hellow guys, so I have 2 tables is Listings is Users in Listings I have some columns, one is user_id, and is related to users tables. I want to display the user
I am using a ESP32-cam with Arduino IDE ver 1.8.6. I'm working on a project with PHP and esp32cam. In my code, the same esp will detect motion then read a qr c
enter image description hereI want to create login and registration with the help of jetstream in laravel. i followed all steps perfectly but my jetstream logi
Im getting mkdir(): Permission denied error in dockerised php. I need to create folder dynamically inside /app , tried with mkdir('/app/images/' 0777, true) cho
My website communicates with retail management software for everything related to products on WooCommerce. Whenever synchronisation takes place, all fields pres
Since yesterday I have had problems sending emails with Lumen. I think I have followed all the steps in the documentation correctly, but unfortunately I cannot