‘;
if(mysqli_num_rows($result) > 0)
{
while($row = mysqli_fetch_array($result))
{
$output .= ‘
‘;
}
$output .= ‘
‘;
}
else
{
$output .= ‘
‘;
}
$output .= ‘
Id |
First Name |
Last Name |
Delete |
‘.$row[“id”].’ |
‘.$row[“first_name”].’ |
‘.$row[“last_name”].’ |
|
|
|
|
|
Data not Found |
‘;
echo $output;
?>