Trending questions in PHP

0 votes
0 answers

PHP CodeIgniter 4 - Form Submission - error "Can't find a route for 'registrations/index'"

The route is created in appConfigRoutes.php, and ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,696 views
0 votes
0 answers

getenv() vs. $_ENV in PHP

What is the distinction between $_ENV and ...READ MORE

Aug 8, 2022 in PHP by narikkadan
• 63,600 points
1,587 views
0 votes
0 answers

How to make a nice "date picker" in PHP?

As I play about with MySQL and ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
1,520 views
0 votes
0 answers

Find all second level keys in multi-dimensional array in php

I want to provide a list of ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,563 views
0 votes
0 answers

PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused

I am trying to connect MySQL Database ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 63,600 points
3,402 views
0 votes
0 answers

php error: The Encrypt library requires the Mcrypt extension in codeigniter

I have a  login and sign-up form and ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
3,515 views
0 votes
0 answers

PHP foreach loop key value

Running this DB call will provide me ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,697 views
0 votes
0 answers

Form submit with AJAX passing form data to PHP without page refresh

Can anyone tell me why this bit ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
1,858 views
0 votes
0 answers

What is PHPSESSID?

I'm experimenting with cookies. I also don't ...READ MORE

Aug 8, 2022 in PHP by narikkadan
• 63,600 points
1,378 views
0 votes
0 answers

How to upload images into MySQL database using PHP code

I'm attempting to save photos from an ...READ MORE

Aug 3, 2022 in PHP by Kithuzzz
• 38,000 points
1,548 views
0 votes
0 answers

Illegal string offset Warning PHP

After updating my PHP version to 5.4.0-3, ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,917 views
0 votes
0 answers

Get driving distance between two points using Google Maps API

Using Google Maps API, I'm attempting to ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,000 points
1,689 views
0 votes
0 answers

Get server timezone In PHP

My client need a system report of ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
1,364 views
0 votes
0 answers

PHP cURL GET request and request's body

I want to use cURL for a GET request ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,927 views
0 votes
0 answers

Login using PHP and JavaScript from SQL database

I have developed a drop-down login panel using ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,600 points
3,809 views
0 votes
0 answers

PHPMyAdmin Default login password

I installed  Fedora 14 and installed the ...READ MORE

Jun 25, 2022 in PHP by narikkadan
• 63,600 points
3,175 views
0 votes
0 answers

PHP using extract() to pass array values as variables and display it on a page

In order to include a specific file ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,333 views
0 votes
0 answers

How to convert Unicode font to KrutiDev in PHP

In essence, I used JavaScript to generate ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
1,341 views
0 votes
0 answers

Send mail using an email account created on Hostinger (PHP)

I am using an email I created ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,040 points
3,871 views
0 votes
0 answers

How to increase memory limit for PHP over 2GB?

Increasing the PHP memory limit as an ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
1,172 views
0 votes
0 answers

Fatal error : execution time of 30 seconds exceeded in phpMyAdmin

My MySQL table has 6.5 million records ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,000 points
1,716 views
0 votes
0 answers

PHP random string generator

I want to create a randomized string in ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,000 points
1,684 views
0 votes
0 answers

PHP - SSL certificate error: unable to get local issuer certificate

PHP 5.6.3 is being used by XAMPP ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
1,530 views
0 votes
0 answers

PHP import Excel into database (xls & xlsx)

One of the plugins I looked for ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
1,483 views
0 votes
0 answers

Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

My client point of sale (POS) systems ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,390 views
0 votes
0 answers

PHP MySQLi num_rows Always Returns 0

In order to make database interaction simpler, ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
1,088 views
0 votes
0 answers

How to push both value and key into PHP array

Take a look at this code: $GET = ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,592 views
0 votes
0 answers

php/gd can't remove background after creating a circular image

I'm positioning a circular picture with a ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
1,159 views
0 votes
0 answers

This localhost page can’t be found :Phpmyadmin

I solved an issue with Apache and ...READ MORE

May 30, 2022 in PHP by Kichu
• 19,040 points
3,964 views
0 votes
0 answers

Best way to initialize (empty) array in PHP

Because of object creation and instantiation, it ...READ MORE

Aug 2, 2022 in PHP by Kithuzzz
• 38,000 points
1,235 views
0 votes
0 answers

Cannot access phpMyAdmin on localhost running XAMPP

On my Windows computer, I installed XAMPP, ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,046 views
0 votes
0 answers

Include PHP inside JavaScript (.js) files

I have a JavaScript file with numerous ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,000 points
1,594 views
0 votes
0 answers

How does PHP 'foreach' actually work?

Let me start by stating that I ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
990 views
0 votes
0 answers

How can I solve this error "A PHP Error was encountered"?

Please give some idea. how to solve ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
1,323 views
0 votes
0 answers

How to check if an array value exists?

How can I check if $something['say'] has the value ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,172 views
0 votes
0 answers

How to run a PHP function due to a button click (with button 'data' passed)?

I manage some sortiment items on a ...READ MORE

May 28, 2022 in PHP by Kichu
• 19,040 points
3,978 views
0 votes
0 answers

Why command "php artisan serve" not working?

My Laravel on this path: C:\Users\Mad\Work\trunk\product\backend\v1.2.1\laravel But it is ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,000 points
1,433 views
0 votes
0 answers

php form action php self

I have a php form like this. <form ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,000 points
1,183 views
0 votes
0 answers

Can I dynamically create subdomains (PHP, .htaccess) with GoDaddy Hosting?

On my GoDaddy Hosting account, I'm attempting ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
856 views
0 votes
0 answers

Join two MySQL tables with PHP

I have created two pages and two ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
1,192 views
0 votes
0 answers

Interface or an Abstract Class: which one to use?

Could you please explain when I should ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
796 views
0 votes
0 answers

How to delete image form folder and database

With the code below, I'm displaying data ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,000 points
1,356 views
0 votes
0 answers

how to write javascript code inside php

I have a form, and when I ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
815 views
0 votes
0 answers

currently unable to handle this request HTTP ERROR 500

My shopping cart files have been moved ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,600 points
1,501 views
0 votes
0 answers

How to add extra whitespace in PHP?

I was wondering if there was a ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
761 views
0 votes
0 answers

PHP FILTER_VALIDATE_EMAIL does not work correctly

I employ PHP 5.3.10. Here is the ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
897 views
0 votes
0 answers

Convert stdClass object to array in PHP

I fetched post_id from postmeta: $post_id = $wpdb->get_results("SELECT ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 63,600 points
2,567 views
0 votes
0 answers

Setting the Timezone for PHP in the php.ini file

I'm trying to change the default PHP ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,052 views
0 votes
0 answers

Get data from JSON file with PHP

Using PHP, I'm attempting to extract data ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
734 views
0 votes
0 answers

Send email with PHP from html form on submit with the same script

When a user has finished filling out ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
1,164 views