MMDT1146 PHP Programming
Week 7
Week 7 Notes: The information below is related to using Adobe Dreamweaver and MySQL databases. It is shown here for historical reasons, even though we are not using Dreamweaver.
Connecting Dreamweaver to your MySQL database (compliments of Lavonne Hansen):
Note the URL prefix at the bottom of this dialog box – take off the trailing public_html
|
Lab 7 This lab is to test your knowledge of being able to create PHP pages that display the data in your customer database, being able to add new customers, and to be able to delete customers. Create a subfolder on your web server named "contacts". (This may already be done for you from doing the in class exercises.) Under the subfolder "contacts" that you just created, you will need to create several files. The names are of your choosing. In my example, I called them "form.php", "add.php", "delete.php", and "edit.php".. The lab must contain several items. Your resulting output should like similar to this. Title your pages. On the first page. I named mine "form.php". :
Create a php file to add users. I named mine "add.php".:
Create a php file to delete a customer. I named mine "delete.php".:
Create a php file to edit users. I named mine "edit.php".:
Assignment is due 1 week from when it was assigned. 50% penalty if late.
|