Trending questions in PHP

0 votes
0 answers

Redirect users to different pages based on role php

Depending on the responsibilities that have been ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 63,600 points
4,901 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, 2022 in PHP by narikkadan
• 63,600 points
5,234 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
924 views
0 votes
0 answers

PHP - Failed to open stream : No such file or directory

In PHP scripts, when I call include(), require(), fopen(), or ...READ MORE

May 16, 2022 in PHP by Kichu
• 19,040 points
7,214 views
0 votes
0 answers

How can I check if an array contains a specific value in php?

I have a PHP variable of the ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,040 points
582 views
0 votes
0 answers

Does the string "php?id=1" within a http GET request mean there is necesseraly an sql request to a back-end database?

You can use Google dorks like "inurl:.php?id=" ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
3,412 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,204 views
0 votes
0 answers

How to fetch specific data from MySQL database to my PHP table?

I want to get data from the ...READ MORE

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

How to wpseo_head particular term_id get?

Yoast SCO plugin gets a particular term ...READ MORE

Oct 11, 2022 in PHP by Nikita

edited Mar 4 24 views
0 votes
0 answers

How to access mysql result set data with a foreach loop

I'm working on a PHP application that ...READ MORE

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

Integrating CCAvenue with php

I have never used a payment gateway ...READ MORE

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

Using if(isset($_POST['submit'])) to not display echo when script is open is not working

I'm running into a small issue with ...READ MORE

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

Login To Facebook Using PHP cURL

I'm trying to use cURL to log ...READ MORE

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

localhost/xampp/ or http://localhost/index.php can't be accessed

I am trying to install xampp. But ...READ MORE

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

I can't enter to "localhost:8080/phpmyadmin"

When I tried to enter it returns ...READ MORE

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

PHP header(Location: ...): Force URL change in address bar

I have a new webpage but the ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
5,014 views
0 votes
0 answers

I can't access http://localhost/phpmyadmin/

I am not able to access:  localhost/phpmyadmin/ ...READ MORE

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

What is the difference between Sessions and Cookies in PHP?

What is the distinction between Sessions and Cookies ...READ MORE

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

header location with id in php

Can a row ID be passed to ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
2,125 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
2,384 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, 2022 in PHP by Kithuzzz
• 38,000 points
2,656 views
0 votes
0 answers

How to create a foreign key in phpmyadmin?

In my patient table, I want to ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
2,199 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,892 views
0 votes
0 answers

Pinterest login with PHP and cURL not working

I've been trying to use cURL to ...READ MORE

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

PHP form - Registration Successful Message on New Page

After each entry has been verified, the ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,000 points
2,558 views
0 votes
0 answers
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,943 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,513 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
4,093 views
0 votes
0 answers

How to resolve ERR_CACHE_MISS with PHP after using back button?

On one of my website pages, there ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
1,945 views
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,842 views
0 votes
0 answers

Create PDF file using PHP

I want to create a PDF file ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 63,600 points
496 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,775 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,905 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,551 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,592 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,643 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
2,099 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,729 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
2,079 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,964 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
4,021 views
0 votes
0 answers

PHP Passing ID in href

I want to have editable rows in ...READ MORE

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

Uploading multiple image files to php mysql gallery

I am close to 65% close to ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 63,600 points
2,753 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,466 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
4,079 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,314 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,700 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,900 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,354 views