i got a image hosting site, i want to offer where the person can share pictures if they wanted to..
im trying to use a form, just a one boxer, where you can enter a peresons email, or some other special $code, and then it will use that $code to grab the database where that $code is assigned to the user, and then do something like a... select * from user where code=$code and allow=Y.. and then display the pictures in a new page, where only the allowed pictures are shown, like a 3 by 6 page..
something to that effect..
basically i need help/directions on how to go about doing this. i never used a form in this manner
any help would be appreciated