Displaying All Record from Table

Published November 17, 2017 by Anil Kumar Vishwakarma


$all_employees = “SELECT * FROM employees “;
$employee = mysqli_query($sql, $all_employees);

<!DOCTYPE html>
<html lang=”en”>
<title>All Employees Records</title>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css”&gt;

All Employees Records

while($result = mysqli_fetch_assoc($employee)){

Employee ID First Name Last Name Father Name Salary Edit Delete
“>Edit ” onclick=”return confirm(‘Do you realy want to delete this record?’)”>Delete



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: