Web Design

oquinones
cargame1.php
$table\n"); print (" \n"); $mydb = new mysqli('localhost', $user, $pword, $dbase); if ($mydb->connect_error) { die( "Failed to connect to MySQL: " . $mydb->connect_error); } $query = "SELECT name, url FROM $table ORDER BY rand() LIMIT 4;"; $result = $mydb->query($query); $mydb->close(); $row = $result->fetch_assoc(); print (" \n"); $correct_name = $row["name"]; print (" \n"); print (" \n"); print (" \n"); print (" \n"); while ($row = $result->fetch_assoc()) { print (" \n"); } print ("\n"); ?> 0 / 0