Trending questions in PHP

0 votes
0 answers

Include PHP inside JavaScript (.js) files

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

Jul 24 in PHP by Kithuzzz
• 20,660 points
510 views
0 votes
0 answers

Find ordered combinations of search string letters in a haystack string (Hacker Rank challenge)

I attempted to pass a Hacker Rank ...READ MORE

Aug 2 in PHP by Kithuzzz
• 20,660 points
95 views
0 votes
0 answers

How to check not in array element

I want to check if an element is ...READ MORE

Jul 28 in PHP by Kithuzzz
• 20,660 points
289 views
0 votes
0 answers

PHP json encode - Malformed UTF-8 characters, possibly incorrectly encoded

I am using json_encode($data) on an array ...READ MORE

Jun 27 in PHP by narikkadan
• 37,660 points
1,589 views
0 votes
0 answers

php form action php self

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

Jul 31 in PHP by Kithuzzz
• 20,660 points
140 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 in PHP by Kithuzzz
• 20,660 points
220 views
0 votes
0 answers

Php Program to find Palindrome?

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

Aug 1 in PHP by Kithuzzz
• 20,660 points
51 views
0 votes
0 answers

How to export PHP/MYSQL data to PDF?

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

Jul 31 in PHP by Kithuzzz
• 20,660 points
117 views
0 votes
0 answers

Convert to date format dd/mm/yyyy

I have the following date: 2010-04-19 18:31:27. I ...READ MORE

Jul 30 in PHP by Kithuzzz
• 20,660 points
156 views
0 votes
0 answers

Editing data from MySQL via PHP

A PHP script that is supposed to ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
65 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 in PHP by Kithuzzz
• 20,660 points
64 views
0 votes
0 answers

php exec() is not executing the command

I have tried to use exec() with 'whoami' to check if ...READ MORE

Jul 24 in PHP by Kithuzzz
• 20,660 points
405 views
0 votes
0 answers

Include PHP file into HTML file

I'm working on a project where the ...READ MORE

Jul 31 in PHP by Kithuzzz
• 20,660 points
98 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 in PHP by Kithuzzz
• 20,660 points
134 views
0 votes
0 answers

Creating csv file with php

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

Aug 1 in PHP by Kithuzzz
• 20,660 points
45 views
0 votes
0 answers

What is an abstract class in PHP?

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

Aug 1 in PHP by Kithuzzz
• 20,660 points
42 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 in PHP by Kithuzzz
• 20,660 points
34 views
0 votes
0 answers

How do I format time in php

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

Aug 1 in PHP by Kithuzzz
• 20,660 points
34 views
0 votes
0 answers

Send attachments with PHP Mail()?

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

Jul 31 in PHP by Kithuzzz
• 20,660 points
69 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 in PHP by Kithuzzz
• 20,660 points
50 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 in PHP by Kithuzzz
• 20,660 points
265 views
0 votes
0 answers

Join two MySQL tables with PHP

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

Jul 30 in PHP by Kithuzzz
• 20,660 points
83 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 in PHP by Kithuzzz
• 20,660 points
267 views
0 votes
0 answers

How to get time in Indian Time zone?

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

Jul 30 in PHP by Kithuzzz
• 20,660 points
81 views
0 votes
0 answers

Multiple file upload in php

I wish to upload several files, put ...READ MORE

Jul 30 in PHP by Kithuzzz
• 20,660 points
80 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 in PHP by Kithuzzz
• 20,660 points
73 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 in PHP by Kithuzzz
• 20,660 points
24 views
0 votes
0 answers

Best XML Parser for PHP

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

Jul 29 in PHP by Kithuzzz
• 20,660 points
102 views
0 votes
0 answers

magento . PHP extension "soap" must be loaded

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

Jul 30 in PHP by Kithuzzz
• 20,660 points
54 views
0 votes
0 answers

How to download file from database/folder using php

I want to know how to create ...READ MORE

Jun 27 in PHP by narikkadan
• 37,660 points
1,473 views
0 votes
0 answers

PHP - Get key name of array value

I have an array of the following: function ...READ MORE

Jul 22 in PHP by narikkadan
• 37,660 points
388 views
0 votes
0 answers

PHP 5 disable strict standards error

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

Jul 30 in PHP by Kithuzzz
• 20,660 points
33 views
0 votes
0 answers

Upgrading PHP in XAMPP for Windows?

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

Jul 29 in PHP by Kithuzzz
• 20,660 points
66 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 in PHP by Kithuzzz
• 20,660 points
64 views
0 votes
0 answers

How to parse a CSV file using PHP

I have a .csv file with the following content: ...READ MORE

Jul 28 in PHP by Kithuzzz
• 20,660 points
93 views
0 votes
0 answers

PHP - CodeIgniter - Invalid argument supplied for foreach()

I'm attempting to use CodeIgniter to create ...READ MORE

Jul 25 in PHP by Kithuzzz
• 20,660 points
212 views
0 votes
0 answers

Get user's current location

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

Jul 29 in PHP by Kithuzzz
• 20,660 points
40 views
0 votes
0 answers

Advantages and Disadvantages of Inheritance in php

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

Jul 28 in PHP by Kithuzzz
• 20,660 points
58 views
0 votes
0 answers

How can I prevent SQL injection in PHP?

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

Jul 28 in PHP by Kithuzzz
• 20,660 points
53 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 in PHP by Kichu
• 19,040 points
2,677 views
0 votes
0 answers

Laravel PHP Command Not Found

I successfully installed Laravel using Composer, but ...READ MORE

Jul 22 in PHP by narikkadan
• 37,660 points
304 views
0 votes
0 answers

Multiple ways of calling parent method in PHP

I wasn't sure why both methods calls ...READ MORE

Jul 23 in PHP by Kithuzzz
• 20,660 points
255 views
0 votes
0 answers

Mail is not sending in php

My code to send mail from PHP: ...READ MORE

Jul 28 in PHP by Kithuzzz
• 20,660 points
38 views
0 votes
0 answers

Can't get gettext (php) on Ubuntu working

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

Jul 28 in PHP by Kithuzzz
• 20,660 points
32 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 in PHP by narikkadan
• 37,660 points
264 views
0 votes
0 answers

Decode base64 string - php

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

Jul 22 in PHP by narikkadan
• 37,660 points
258 views
0 votes
0 answers

Laravel 5.4 Storage link

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

Jul 22 in PHP by Kithuzzz
• 20,660 points
234 views
0 votes
0 answers

Mobile number validation pattern in PHP

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

Jul 25 in PHP by Kithuzzz
• 20,660 points
101 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 in PHP by Kithuzzz
• 20,660 points
101 views
0 votes
0 answers

Php artisan make:auth command is not defined

I ran this command in Laravel 5.2 but ...READ MORE

Jul 21 in PHP by narikkadan
• 37,660 points
273 views