Eric's 'Vote' example

User 2736027 Photo


Registered User
70 posts

Hi Eric,

Thanks for helping out, and providing great examples and support.

I was intrigued by your 'Vote' example, posting the results to a database, and reading back the results. I managed to get it to work in order to see if I could adapt the code to meet my needs. Looks very promising, so Thanks!

The only issue I had (so I removed it), was a line of code in the ccvoteform.php file, which reads:

echo '<iframe src="button.html" scrolling="no" frameborder="0">';

I'm not sure what the 'button.html' page refers to, but once I deleted this line, the code ran perfectly. Did I overlook something critical, or is that okay?

Regards
User 187934 Photo


Senior Advisor
20,271 posts

The iframe closing tag was missing.
http://ericrohloff.com/coffeecup/ccforu … index.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.