Results 1 to 6 of 6
Thread: Easy PHP Poll script?
Hybrid View
-
08-22-2002, 05:25 PM #1Junior Guru
- Join Date
- May 2002
- Posts
- 195
Easy PHP Poll script?
I have checked Hotscripts.com for a full day at work here and tried tons of different scripts...some come up with errors (i don't know php well enough to fix them), some require databases which I do not have access to.
What I need is a simple poll/voting script which does not require a database, written in php where people can vote, and the results will either pop up in a small window, or show up parsed where the poll was...or not come up at all, and require a person to click on a "view results" link.
Anyone got something I can use here? And no, I'm not willing to pay cash...just asking for a little help. It's for a site I'm designing for work so I'm not willing to pay out of my pocket NOR ask them for cash.
Thanx.
-
08-22-2002, 07:35 PM #2Web Hosting Master
- Join Date
- Apr 2002
- Location
- Here?
- Posts
- 2,560
The Amazing Little Poll is a super simple php script that does what you need. Here's the link: http://www.evert.jervhost.com/LittlePoll/index.html The results come up immediately after voting.
-
08-23-2002, 12:15 AM #3Junior Guru
- Join Date
- May 2002
- Posts
- 195
Yeah I tried that one...something happened though that I threw it out...can't remember what cuz I tried like 30 different ones. But i'll take ur advice and try it again. Thanx.
-
08-23-2002, 01:18 AM #4Newbie
- Join Date
- Aug 2002
- Posts
- 8
My guess is your PHP error_reporting is set to E_ALL and you are complaining about the notices it writes to the screen.
Regards,
Clarence Eldefors
http://cerebustools.com
-
08-23-2002, 01:03 PM #5Junior Guru
- Join Date
- May 2002
- Posts
- 195
yes...that sounds right...when you hit submit, it shows the results, but has like 4 lines of "something not defined on line ###" or something or other. How do I change that?
-
08-24-2002, 07:03 AM #6Newbie
- Join Date
- Aug 2002
- Location
- UK
- Posts
- 13
To change that, you need to add the following line to the top of your script:
PHP Code:error_reporting (E_ERROR | E_PARSE);
PHP Code:error_reporting (0);
Hope this helpsMark Carruth