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,786 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,270 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,933 views
0 votes
1 answer
0 votes
0 answers

What is the "RESTful" way of adding non-CRUD operations to a RESTful service?

With the help of good code examples, ...READ MORE

Dec 19 in PHP by Ashutosh
• 9,340 points
28 views
0 votes
0 answers

Do i need to close connection of mongodb?

With the help of programming, can you ...READ MORE

Dec 19 in PHP by Ashutosh
• 9,340 points
22 views
0 votes
0 answers

How to configure PHP with the Apache Web Server?

With the help of code, can you ...READ MORE

Dec 17 in PHP by Ashutosh
• 9,340 points
25 views
0 votes
0 answers

How do I clear the server cache in asp.net?

With the help of code, can you ...READ MORE

Dec 16 in PHP by Ashutosh
• 9,340 points
26 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,306 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,755 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
54,179 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,375 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,713 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,125 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,811 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,595 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,972 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,159 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
10,010 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,294 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,597 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,483 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,170 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
10,002 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,275 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,703 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,183 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,771 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,293 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,841 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,232 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,594 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,156 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,483 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,134 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,077 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,081 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,382 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,318 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,934 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,678 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,393 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,437 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,592 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,056 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,968 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,450 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,489 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,913 views