File manager - Edit - /home/autoph/public_html/voc/home/includes/dashboard/herelist.php
Back
<!DOCTYPE html> <html> <style> .loader { border: 10px solid white; border-radius: 50%; border-top: 10px solid blue; border-right: 10px solid white; border-bottom: 10px solid red; width: 150px; height: 150px; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> <body> <?php $servername = "localhost"; $username = "root"; $password = "aee1024"; $dbname = "db_vts"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "SELECT u_fname, u_lname FROM vts_users WHERE u_status = 1"; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo "<li>". $row["u_fname"]. " " . $row["u_lname"] . "</li>"; } } else { echo (""); } $conn->close(); ?> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings