|
In are last week of class we are going to create a Movie/Book database and php scripts together.
O.K., now to the exercise: 1. We need to create a table inside the database.
You can access your database, through your browser, using this link to
"phpMyAdmin".
You will need to use a "user_name" and "password" to access the MySQL database. Your username is the same as your login username
ane I will give out your MySQL password in class.
2. Now that you have created a movie table, you will need to
populate it with data. Here is my first work on creating an
php insertion dialog script. "insert1.php".
It takes the data but, for now, just outputs the results to the screen.
3. Here is the next version of our insert. It is actually updating the
"movies" table inside our database. Here is the text of the script:
"insert.php".
4. Here is a "select" script that shows us everything, currently in
the table.
"select.php".
|