Kruztybeatz
...just wait for ever
or never
Just a template.
connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; $sql = "SELECT id, username, password, email FROM users ORDER BY rand() LIMIT 5"; $result = $conn->query($sql); if (!$result = $conn->query($sql)) { echo "Sorry, the website is experiencing problems."; exit; } /* if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo "id: " . $row["user_id"]. " - Name: " . $row["first_name"]. " " . $row["last_name"]. "