Lab Assignment #5 (PHP and MySQL)

Due to technical difficulties, Lab Assignment #5 has been cancelled.

Your assignment is to re-implement (last time, I swear!) the random student selector. You should still use PHP for the implementation, but this time the information about the students' first names, last names, and usernames needs to be stored in a MySQL database. If we look at the source code for your PHP script, we better not find any of the students' names in there! You'll need to create a database using MySQL to store all the names and usernames. You'll also need to have your script interface with that database in order to get the information it needs.

You can read here about using PHP to interface with MySQL. This assignment requires that you learn a number of things that we didn't cover in lecture. That is on purpose. We're trying to help you learn how to learn on your own. Having said that, I understand that it might take a bit longer than your previous assignments. So you don't have to finish before class the next day. As long as you are done by midnight on Wednesday, it's not late.