Trending questions in PHP

0 votes
0 answers

How does true/false work in PHP?

I'm curious about PHP's internal handling of ...READ MORE

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

How to get time in Indian Time zone?

We are setting start Schedule time and ...READ MORE

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

Upgrading PHP in XAMPP for Windows?

How do you upgrade PHP in Xampp ...READ MORE

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

Send attachments with PHP Mail()?

I need to send a pdf with ...READ MORE

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

Switch php versions on commandline ubuntu 16.04

On my Ubuntu 16.04, I've installed PHP ...READ MORE

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

Decode base64 string - php

Is there any way to decode this ...READ MORE

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

Best XML Parser for PHP

I've used the XML Parser before, and ...READ MORE

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

Php Program to find Palindrome?

The palindrome can be found in three ...READ MORE

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

How to export PHP/MYSQL data to PDF?

When I develop a student information form ...READ MORE

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

Create a folder if it doesn't already exist

In a few instances, when installing WordPress ...READ MORE

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

How to Sort a Multi-dimensional Array by Value

How can I sort this array by ...READ MORE

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

Advantages and Disadvantages of Inheritance in php

Could someone please explain the main benefits ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
653 views
0 votes
0 answers

What is an abstract class in PHP?

What is an abstract class in PHP? ...READ MORE

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

Laravel 5.4 Storage link

When I go to the link folder ...READ MORE

Jul 22, 2022 in PHP by Kithuzzz
• 38,000 points
906 views
0 votes
0 answers

How to extract and access data from JSON with PHP?

This is intended to be a general ...READ MORE

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

PHPMailer SMTP ERROR: Failed to connect to server

This Code: <?php include("class.phpmailer.php"); include("class.smtp.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // ...READ MORE

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

netbeans problem : localhost/­PhpProject1/­index.­php not found

On Windows 7, I've set up Netbeans ...READ MORE

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

Creating csv file with php

I want to make a CSV file, ...READ MORE

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

How can I access the XAMPP 7.0.9 Security page?

I have trouble getting to xampp 7.0.9's ...READ MORE

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

How to stop PHP code execution?

Is there a way to immediately stop PHP code ...READ MORE

Jul 23, 2022 in PHP by Kithuzzz
• 38,000 points
820 views
0 votes
0 answers

Get last executed query in MySQL with PHP/CodeIgniter

In my_model.php, I have: $query1 = ( ...something... ); $query2 ...READ MORE

Jul 22, 2022 in PHP by Kithuzzz
• 38,000 points
849 views
0 votes
0 answers

Drawing a bar graph using mysql data using php

I am using PHP as the scripting ...READ MORE

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

Mobile number validation pattern in PHP

I am unable to accurately write the ...READ MORE

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

How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?

I have a development environment based on ...READ MORE

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

How to retrieve data from multiple tables using a PHP form?

I want to retrieve data from multiple ...READ MORE

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

magento . PHP extension "soap" must be loaded

My domain.com shared server is available. And ...READ MORE

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

PHP's preg_match() and preg_match_all() functions

What do the preg_match() and preg_match_all() functions do and how can ...READ MORE

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

500 Internal Server Error for php file not for html

There are barely 4-5 static pages on ...READ MORE

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

How to upload image and save path to database?

I have a page with some displayed ...READ MORE

Jul 22, 2022 in PHP by Kithuzzz
• 38,000 points
791 views
0 votes
0 answers

Remove Image background with php and save transparent png

I am working on functionality that removes ...READ MORE

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

phpmailer error "Could not instantiate mail function"

I'm getting the error "Mailer Error: Could ...READ MORE

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

phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration

The phpMyAdmin is not running properly for ...READ MORE

Jul 22, 2022 in PHP by Kithuzzz
• 38,000 points
764 views
0 votes
0 answers

How to sort an array of associative arrays by value of a given key in PHP?

Given this array: $inventory = array( ...READ MORE

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

Can't get gettext (php) on Ubuntu working

The translated string is repeated back when ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
489 views
0 votes
0 answers

How do I format time in php

I have a time returned by PHP ...READ MORE

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

How to count same values are exists in my record

I have difficulty counting how many times ...READ MORE

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

What's the maximum value for an int in PHP?

Ignoring the special libraries that allow you ...READ MORE

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

PHP & Case Sensitivity

PHP is the only language in which ...READ MORE

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

Javascript Equivalent to PHP Explode()

I have this string: 0000000020C90037:TEMP:data I need this string: TEMP:data. With ...READ MORE

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

How can I prevent SQL injection in PHP?

The programme  becomes vulnerable to SQL injection ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
467 views
0 votes
0 answers

When I run ''yum install php-pgsql" I got "You need to be root to perform this command." as an error . how to be the root?

When I attempted to run "yum install ...READ MORE

Jul 23, 2022 in PHP by Kithuzzz
• 38,000 points
682 views
0 votes
0 answers

convert strtotime to date time format in php

I have to use PHP to convert ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 63,600 points
760 views
0 votes
0 answers

Deleting an element from an array in PHP

Is there a simple PHP method for ...READ MORE

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

I can not access phpMyAdmin on XAMPP

Windows 8 is where I've installed my ...READ MORE

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

How to open a file named index.php which is in htdocs/project1 folder in xampp?

I have a folder named project1 in ...READ MORE

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

localhost/phpinfo.php

Wen I tried - http://localhost/phpinfo.php in google chrome ...READ MORE

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

Get user's current location

How can I utilize IP to determine ...READ MORE

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

How to redirect a page using onclick event in php?

I tried this, but it didn't work: <input ...READ MORE

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

PHP 5 disable strict standards error

I need to setup my PHP script ...READ MORE

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

Laravel PackageManifest.php: Undefined index: name

I recently updated the composer on my ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,600 points
641 views