Trending questions in PHP

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
651 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
689 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
969 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
503 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
578 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
574 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
655 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
889 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
624 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
885 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
450 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,952 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
433 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
475 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
425 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
810 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
839 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
691 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,291 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
681 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,976 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
807 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
712 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
452 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
773 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,175 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,435 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
663 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
743 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
480 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
303 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
302 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
675 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
585 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
451 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
574 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
530 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
741 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
651 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
689 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,304 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
358 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
309 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
2,985 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
1,974 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
621 views
0 votes
0 answers

Add Bootstrap Table With Sorting, Searching and Paging into my PHP function

I have an issue adding  bootstrap Table ...READ MORE

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

Passing variable from JS to PHP within the same page

I know that PHP is a server-side ...READ MORE

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

PHP - Generating tokens for transactions

What would be a safe and suitable ...READ MORE

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

How to use $_FILES["file"]["size"]?

How can I see if the file ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
450 views