How to group by comma of every value as per same key? I need to re-orientate the array so that rows become columns and the new rows need to be joined together
I made a SH script to add Plesk subscription (newplesk.sh) I need this script to be started from a PHP file. It's working through SSH when typing php testplesk.
I just installed PHP 8 and I have this error appears? How do I fix it? Fatal error: Declaration of OM\Db::query(string $statement) must be compatible with PDO:
I have laravel application and I have used singleton pattern public function boot/register() { $this->app->singleton( 'className',
I want to display average product ratings in star. The values are displaying good but I want to show half star if the value is in float. My blade view: <div
Laravel 7 factories had method afterCreatingState() where you could define what should happen after Model with specific state was saved into database. $factory-
why codacy(code review tool) showing "echo language construct is discouraged." how to solve this issue. 1:
I am doing a CRUD with vue.js and php. I installed the axios and I believe it is working. I just don't know how to call the php file that connects to the databa
Laravel 5.7 Hello I have been looking through stack overflow and have tried many possible answers and have come to no conclusions. I am updating a simple inte
I want to modify the subscription string so it only shows the sign-up fee for variations with 0$ recurring fee. I would also like to show that variation price
I have a question for you, I'm using socket.io and elephant.io in my php application, but I've been dealing with the error I got by elephant.io for almost 2 day
I am working on project which is based on BITRIX D7 php framework. We have a need to combine several URLs into one by passing the desired part as a parameter in
I'm looking to write a PHP script that scans my gmail inbox, and reads unread emails. There needs to be NO user interaction. This has to happen on a cronjob tha
I have imported Laravel app inside my PC (Win 10) and put it in htdocs folder then I have changed the default directory which will serve me when type "localhost
There is my code in this code i insert data to post by frontend html form. i insert post title, description, featured image and ACF textfields. and Gallery imag
Create sitemap on php language. If don't add element xmlns:xhtml="http://www.w3.org/1999/xhtml" in urlset and xhtml:link after , sitemap is displayed correctly.
I am trying to save boolean value when I create a new Post and then have it update the value if I update the Post. When I create a new Post and save, it persist
i want condition active page/or open post page, title not show in sidebar <?php $the_query = new WP_Query( array('post_type' => 'courses')); ?>
I installed Learning Managment System (LMS) 'Moodle' to XAMPP local server. And there is instrument for file downloading, called "filepicker". I want to pass te
I am working with Laminas DoctrineObjectInputFilter and want to get value of other property in Callback input filter like this code is in init function of Filte