Trending questions in PHP

0 votes
1 answer

How to see indexes for a database or table in MySQL?

Hello @kartik, To see the index for a ...READ MORE

Aug 18, 2020 in PHP by Niroj
• 82,840 points
150,509 views
0 votes
0 answers

http://localhost/phpMyAdmin/ unable to connect

I tried to start phpMyAdmin from my ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
73,211 views
0 votes
1 answer

How to get input field value using PHP?

Hello, Use PHP's $_POST or $_GET superglobals to retrieve the value of ...READ MORE

Nov 20, 2020 in PHP by Niroj
• 82,840 points
73,485 views
0 votes
1 answer

How to select all records from one table that do not exist in another table?

Hello @kartik, You can either do like this: SELECT ...READ MORE

Jul 21, 2020 in PHP by Niroj
• 82,840 points
53,173 views
0 votes
1 answer

PHP undefined key and variable

Hi, @Dann, If you are using some variable ...READ MORE

Dec 30, 2020 in PHP by anonymous
• 65,770 points
45,640 views
0 votes
1 answer

How to find the php.ini file from the command line?

Hello @kartik, You can get a full phpinfo() using : php ...READ MORE

May 19, 2020 in PHP by Niroj
• 82,840 points
53,975 views
0 votes
0 answers

phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

I am getting this error in the ...READ MORE

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

Dropdown onchange using ajax

My form has a dropdown that I ...READ MORE

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

How to GET data from API and show it on PHP page?

I want to use some data from ...READ MORE

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

PHP Session Destroy on Log Out Button

I'm currently working on a website that ...READ MORE

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

How to call a PHP function on the click of a button

The two buttons on my functioncalling.php page ...READ MORE

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

Mailer Error: SMTP connect() failed in php mailer( https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)

Here is code for sending email from ...READ MORE

Jun 2, 2022 in PHP by Kichu
• 19,040 points
13,099 views
0 votes
2 answers

How to use basic authorization in PHP curl?

If you are saying Basic authentication, then ...READ MORE

Jan 3, 2021 in PHP by Manas
• 140 points
36,198 views
0 votes
0 answers

How can I access http://localhost/wordpress/wp-admin/install.php?

WordPress is running on localhost for me ...READ MORE

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

PHP password validation

I made a registration validation in PHP. ...READ MORE

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

phpmyadmin Failed to set session cookie. Maybe you are using HTTP instead of HTTPS

I successfully installed PHP, Apache, and MySQL. ...READ MORE

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

PHP file_get_contents() returns "failed to open stream: HTTP request failed!"

I'm having trouble using PHP code to ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
9,419 views
0 votes
1 answer

Error:Failed to open stream : No such file or directory.

Hello @kartik, Go to the file to include ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,840 points
37,071 views
0 votes
0 answers

localhost/phpmyadmin is not working when i am trying to open using admin button in xampp dashboard but working in some other way

The phpmyadmin console is not opening when ...READ MORE

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

How to install Imagick/imagemagick PHP extension on windows 7

Installing Image Magic in Windows 7: instructions ...READ MORE

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

How to filter data from a MySQL Database Table with PHP

I'm attempting to code a search box ...READ MORE

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

Fetch data from database in php through AJAX,

The index.php  I created a connection with the ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
8,119 views
0 votes
0 answers

phpMyAdmin access denied for user 'root'@'localhost' (using password: NO)

I am having this error when I ...READ MORE

May 30, 2022 in PHP by Kichu
• 19,040 points
8,724 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, 2022 in PHP by narikkadan
• 63,600 points
7,225 views
0 votes
0 answers

selected value get from db into dropdown select box option using php mysql error

I have to get the selected value ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,000 points
4,776 views
0 votes
1 answer

How to resolve the problem of losing a session after a redirect in PHP?

Hello @kartik, Carry out these usual checks: Make sure session_start(); is ...READ MORE

Aug 24, 2020 in PHP by Niroj
• 82,840 points
35,058 views
0 votes
0 answers

How to pass a PHP variable using the URL

I need to pass some PHP variables ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
6,238 views
0 votes
0 answers

Uninstall php 7 in ubuntu 18.04

I have a server with a PHP ...READ MORE

Aug 2, 2022 in PHP by Kithuzzz
• 38,000 points
4,085 views
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,271 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,099 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,019 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
2,954 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,288 views
0 votes
0 answers

How to check not in array element

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

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
3,257 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
2,899 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,648 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,329 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,374 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,504 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,029 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
1,915 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,431 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,430 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
1,872 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
1,935 views
0 votes
0 answers
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,771 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,686 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
4,705 views