Confused why getting this issue while trying to connect to my DB. Connection failed: No route to host <?php $servername = "HOST"; $username = "USERNAME
The task below overwhelms my PHP skills. That's why I'm asking for help here. In the MyBB forum, when registering, users must: Provide a 5-digit invoice number.
My cart doesn't want to update on subpages, even though I basically copied the same code from index.php (including the script). I checkec twice and everything i
PHP debugging in vscode using xdebug and xampp is not working even after all configurations. here is my php.ini file config: zend_extension = D:\Xampp\php\e
I have a search form to list properties/ads through certain criteria. I am trying to fetch all properties based on offer or demand, depending on what is clicked
My request url like this localhost/details?hotelid=2--tag&checkin=2022-05-13&checkout=2022-05-15&room=1 i want to like this localhost/details?hotel
I'm working in a custom module for drupal 8. I have a form and I'm trying to send by means of a submit button some data from my custom module to another php scr
How can I pass the list to the component variable? I tried to add elements of a list in @php tags like this , for now,, in the future, I will fetch this list fr
I am trying to yield a section inside another section which is itself yielded in master.blade.php, but it does not work. master.blade.php <!DOCTYPE html>
I tried to make the construction like figure1. figure1 In the local environment, I can access http://127.0.0.1 after running docker-compose up -d --build. And I
I am trying to fetch order status in real time in php but not able to find proper way or documentation so I can go ahead. In sales api I am getting details of s
I am having a challenge,I am unable to extract a unique field from emails sent directly from Safaricom Internal Mails to our Customer Service Mailbox. All other
I am just starting my journey with servers so I bought one VPN. I installed there ubuntu 18, apache 2.4, php8, webmin, mysql etc. I have two sites based on symf
I have installed a homestead on a new computer. I have pulled my code (which is working on my other computer as well as the server). My project is made in Larav
when i run this code "php artisan migrate --seed" qppeaer one error like SQLSTATE[42S02]: Base table or view not found: 1146 Table 'naryn.modules' doesn't exist
I have two arrays: $a = ['0' => 1, '1' => 2, '2' => 3] $b = ['0' => 4, '1' => 5, '2' => 6] I want to create a new array like this: [ ['
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',