Select data from database using MySQLi in php is very simple. You need to first connect database or include database page, where you use select query for select record from MySQL table. Follow the example
mysqli_query($con,"SELECT * FROM Table Name");
Select data using where clause
$sql=mysqli_query($con,"SELECT * FROM Table Name WHERE id='".$id."'");
Question and answer is powered by AnsPress.io