Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP to update html using CSV file

Challenge 7: Using the following code as an example, create a Webpage that will display relevant student data on the page:

<?php
    $conn = mysqli_connect("localhost", "gradeUser", "gradeUser", "grades");
    $result = mysqli_query($conn, "SELECT * FROM students;");
    while (($entry = mysqli_fetch_assoc($result))){
            echo $entry['firstName']." ".$entry['lastName']."</br>";
        };
?>

Challenge 8: In this Challenge, you will create a Drop down Input Form, and populate the with all the courses from the "courses" table in the Database. This is done by retrieving the data from the database using PHP, the creating a loop to create a new line for the . You end result should activate your dropdown menu in the form, and populate it with course names:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages