It’s very simple.
Just select data from your table and fetch all data in a loop and show in a html table:
$con = //connect your database here
$qry = ($con,”SELECT * from `table_name` order by id DESC”);
$row = mysqli_num_rows($qry);
if($row>0){
while $data = mysqli_fetch_assoc($qry){
echo $data[’table_column_name’];
}
Question and answer is powered by AnsPress.io