I am trying to add the below code to a page.php file but call it from a custom plugin. At the moment, I have modified the theme's page.php but want to move cust
I'm trying to write a small tool using php. This temporarily connects to one of two Wordpress systems on the same web space by loading the wp-load.php of the ne
The code it works normal when i put option in static mode, for example: "<select name='id_post[]' id='' class='form-control'>"+ "<option value='1'&
I Have system, where people ar tracking there spent time on project. After project is ending, I want to count there spent time + round up to closest step For no
Issue: Cannot create or access a central storage container within OneDrive using App Requirement: Create a central storage directory that is accessible for user
I have a login form and a registration form in my index.php when user open the page it shows the login page it works fine but when i click "registr now" i need
<?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $from = 'From: yoursite.com'; $to = 'contact@yoursi
I have a accounting management project where I need to store some specific data to a new database. I am fetching a issue when I am going to create a new databas
Is there any PHP extension for Visual Studio Code that can warn you in case you are doing ::class in PHP but the class is not used on top of the file? Let me sh
This code: $files[$file->ID]['file_title'] = '<p><a target="_blank" href="' . esc_url( wp_get_attachment_url( $file->ID ) ) . '
I got this error message after trying to downgrade laravel 9 to 8 cause i recently downgraded my php version from 8 to 7.3 In Facade.php line 178:
I try to create a new API rest on monolithic project with symfony 4.4, api-platform 2.6.8, i have to use yaml configuration, but i have the same issue with anno
this is what cmd said and I don't know how to fix this I saw similar cases like this in the stackoverflow but their suggestion didn't fix my problem I hope you
I have following in my laravel blade file. @slot('title') {{ $user->first_name }} {{ $user->last_name }} @endslot <?php if (App\Models\Departme
Even though I already started the game on the teacher's side, the code keeps on returning 'notrunning' so does this just mean that is_null($result[0])? <?php
I have this string, i want to break it into array at specified indexes Checked this link: separate string in two by given position but this is regarding breakin
I am making a curl post request to create an order header... This returns and order number $orderno. When I echo the response, I am getting the order number as
I am after some help, please. I am looking for a code snippet that will attach my Yith PDF invoices to an automated email for a custom order status I have alrea
I developed one HTML site and for that, I but one PHP email script, and I submitted the form using ajax I uploaded the file into normal Cpanel and I test it's w
How can I tell if a variable is of type enum? I have installed PHP 8.1 on my Ubuntu 20.04. I'm testing the new "enum" types. Is something like that possible? is