I have built an HTML form to search through a .csv and return all entries that match the specific input string. My aim is to be able to search through a .csv an
I am using Volt and PHP in phalcon volt partial I want to iterate a loop and in the loop I have php code that accept a parameter this is my code {% for header i
sorry if my question might sound silly. I am trying to create an email address with Cpanel UAPI with LiveAPI.php but I seem to be lost on some codes. The docume
I try to provide Download Streams for my Project, but always run into memory limit exhausted error on files larger than 128M. php memory limit
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