UNC
School of Information and Library Science
INLS760 – Web Databases, Spring 2009
INLS 760

Main Page

Announcements

Calendar/Notes

Assignments

Links

Course Policies

Grades

In-Class Exercise #2

PHP and MySQL Exercise

Create a MySQL table called "music" with the following records:

	artist, song, length, rating
	Beatles, Can't Buy Me Love, 243, 4
	The Who, Pinball Wizard, 550, 3
	Pink Floyd, Wish You Were Here, 528, 4
	Yes, Roundabout, 442, 5
Write PHP code to display the contents of the music table on a web page using a table.