close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Photo Contest voting lookup

Thread began 2/16/2010 11:42 am by robert329616 | Last modified 2/17/2010 12:33 am by robert329616 | 775 views | 5 replies


Photo Contest voting lookup


I have been struggling with this part of the site.

I have a voting site ( where people after registering can upload their pets picture and vote for their pet. I was able to get this to work.

I need help with the voting end. I have it set up where the person (friends, family, etc) registers then is taken to a protected page (registrants by email only). Here I need to allow them to see all the photos and names and a button to allow them to vote. They can only vote once per email address, so once they vote they would not be able to see this page.

I have one table (I was out of time so i am only using this now):
users: UserID, UserEmail, UserPassword, UserFirstName, UserLastName, PetName, PetImage, ContestTerms, PetVotes, UserEmailVerified, UserRegistrationDate, UserVerificationCode, UserIP, UserPhone

and votes: VoteID, VoteUserID, PetVotes, petName, VoteDate

My question is; Are the tables set up right? What is the correct SQL statement to allow me to show all the pet names, pictures and allow the registered user to vote?

The site had to go live and I am beyond having a gun to my head, so any help would be greatly appreciated.



Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...