I too found this difficult. I scratched my head on this one so much that I should be bald right now. I’m becoming very familiar with PHP errors though.
I was confused about where the register page should be redirected if the fields were not empty as the Process flows indicate it should go to the Login page and the blog post mentions the Homepage. I've chosen to send it to the Login page.
This was more than enough to get through for one week. Although there's obviously a lot more one would want to do, such as creating a logout (as Bryan did), making sure usernames are not duplicated, a function that expands the container div as pictures are added, etc.
I was able to get almost everything to work per the instructions; there were a couple of things that I was stuck on: 1) getting two images on the same line/row without repeating the same image to do so. 2) how to show the "Uploaded by " only when there is an image. I’ve left a second div (without the 0, 1, 2 index reference) there for now, so I can go back to this when I find the solutions. There are no doubt better ways to have done this in certain instances, which might be more obvious once I tried to add additional features.
I've used loads of comments for my reference, so it might be a pain to look at, but I've taken advice from the tizag tutorial and will no doubt find this useful. I also want to thank Mimi for the killerphp video tutorial reference (we might have received an email about it as well from someone else). Although some of the teacher's HTML is not that great, the videos are very informative and easy to follow as a refresher.
Here's my version:
Class 7 Assignment
This has now been updated with some modifications for previous problems:
Class 7 Assignment Updated
See you tomorrow!
Friday, April 10, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment