Team LiB
Previous Section Next Section

Populating Your Table

Now the fun begins! If you didn't close your web browser after the first part of this chapter, show_addrecord.html should still be visible in your browser window. If it's not, open http://127.0.0.1/show_addrecord.html now.

Complete the addition form for an album you have lying around. The following figure shows an example from my collection.

Click the Add Record button, and you should see a confirmation screen shown in the following figure.

Click To expand

Add several of your own recordings to the database table. Unless you changed the script on your own, the only required fields are ID, format, and title.

Click To expand
Note 

In later chapters, you'll learn to make modifications to your table so that the ID field really is unique and increments automatically. That way you don't have to keep entering a number and hoping it works.


Team LiB
Previous Section Next Section