There is sample PHP code for doing some of the basic tasks in this application:
- creating a member
- editing a members details
- adding a photograph
- displaying photos
I''ve made a few minor improvements to the sample code handed out in class:
- A few more comments
- Changed from $_GET[] to $_REQUEST[] as the array from which form data is accessed. This array includes data sent from a form either as method='get' or method='post'. Use get during testing and switch to post if necessary in production
- dropped the MYSQL_ASSOC parameter - it's not necessary
No comments:
Post a Comment