connect_errno) { die("Connect failed: " . $conn->connect_error); } $sql = "SELECT EventTitle, Director_Name, EventType, EventLocation,EventDateStart FROM Event"; //Retrive result using query $result = $conn->query($sql); //While result has nest, continue also need to change the below rows to the correct names if ($result->num_rows > 0) { //output data of each row while($row = $result->fetch_assoc()) { ?>
Date Title Location Type Contact