TinyPortal

Development => Support => Topic started by: WSA on July 26, 2006, 02:49:39 PM

Title: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 02:49:39 PM
I am wondering how to create a form page on my site.

This form page should have various poll questions that will have a 1 2 3 4 5 type answer system.  1 being strongly disagree and 5 being strongly agree.

The poll should then update a database with the responses and be able to convert them into a pie chart of some sort for viewing.

The form should match the site itself but would be it's own page.

Does anybody know how to do something like this?
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 02:57:12 PM
yes
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 02:58:57 PM
Quote from: akulion on July 26, 2006, 02:57:12 PM
yes
Do tell please.
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 02:59:58 PM
 :2funny: u didnt fall for it..i was hoping u would bite lol :D

its very simple really there is a free ready made script available for it

the demo and everything u need is on this page

http://www.rantchaos.com/poll.html
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 03:06:38 PM
Thanks.  I downloaded it but I have no clue what do with it after I extracted it.
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 03:08:12 PM
once u unzip the package go to the upload folder and read inside the install.htm file

the installation instructions are pretty straight forward and easy to do
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 03:14:02 PM
Ahah.  Thanks.

I perused this and found these items.

8. go to "new poll" from the admin area and create a new poll. Try to keep the max number of options to 4 at the time being, more than 4 can cause problems. We are correcting those problems and will update this

The poll has errors with php 4.3.11 and higher. It has never been tested with php 5+


I am going to have probably a 15 to 20 question poll and we are running.

I am running PHP 4.4.2
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 03:19:30 PM
oh dont worry....go to hotscripts.com and go to their flash area and search for POLL

I saw another polling system there for free, maybe thats a better one
Title: Re: PHP Form / Poll / Database
Post by: Crip on July 26, 2006, 03:19:58 PM
Thats a nice little script.. is it Flash?
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 03:22:06 PM
I just went into my Fantastico and found these scripts also. 

Polls and Surveys
Advanced Poll
phpESP
PHPSurveyor
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 03:24:22 PM
cool then u can use Fantastico to install them and test them out

yup crip thats flash based poll

found it via hotscripts 2 days ago, havent tested it myself yet though
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 03:28:35 PM
http://www.phpsurveyor.org/

Check out this one.  Click on Demo.  This one seems very cool and better than the other two on fantastico.
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 03:44:46 PM
that sure looks comprehensive and complicated

Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 03:45:57 PM
I know.  I am setting one up right now.  The cool thing though is that it gives multiple options on questions and also provides that order of importance one.

It's a bit confusing though.
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 03:53:10 PM
its more of a survey script than a poll script

but still cool

thanks for sharing
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 04:17:21 PM
hey i found a really good one

for more advanced services u pay 25 bucks a year..so its cheap

but the free ones are cool too check it out http://www.neomyz.com
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 07:05:51 PM
That one does look pretty neat.

I set up my survey using phpsurveyor and I think it's great

Take a peek at it.  I'm not completely finished with it yet and these won't  submit to anything either.

http://www.westernslopeanglers.com/survey/index.php?sid=2&token=
Title: Re: PHP Form / Poll / Database
Post by: Crip on July 26, 2006, 07:18:05 PM
Impressive survey.. nice one WSA :)

Title: Re: PHP Form / Poll / Database
Post by: Porky on July 26, 2006, 07:35:51 PM
Great job very professional!!!
Title: Re: PHP Form / Poll / Database
Post by: akulion on July 26, 2006, 07:36:34 PM
oh no i think i posted the reply to u in another post!! lol

i thought i had already replied-infact im sure i had!! but its missing..so i dunno where i posted it

nice survey
Title: Re: PHP Form / Poll / Database
Post by: WSA on July 26, 2006, 08:27:26 PM
Thanks guys.  PHPSurveyor is pretty easy to figure out after a few minutes of fudging things up.

I can't believe how many options it allows you to use.  Very cool app IMHO.

It will also allow you to have multiple surveys saved, such as a fishing survey, a hunting survey, a favorite junk food survey, etc.

It also has a few different templates so it will look different. 
Title: Re: PHP Form / Poll / Database
Post by: st!nko on July 27, 2006, 11:13:15 PM
I've never used PHPSurveyor, so the following may not work unless you edit all the appropriate links.

But rather than having that serparate survey page, why not do a php include in one of your artilces so it looks and feels integrated with your site?