
-----------------------------------
noney2004
Mon Apr 30, 2007 6:53 pm

Creating a poll with php
-----------------------------------
I need help creating a poll with php which is able to connect to a my sql database
yes... i did try the search button... nothing came up (nothing usefull anyways)
and it would be even better if it is able to be embeded into an html page


 :)  thanks

-----------------------------------
rdrake
Mon Apr 30, 2007 8:56 pm

RE:Creating a poll with php
-----------------------------------
Well, you can start off by going through my old [url=http://www.compsci.ca/v3/viewtopic.php?p=140178]Introduction to MySQL in PHP tutorial.

Do you have a specific question?

-----------------------------------
noney2004
Tue May 01, 2007 4:15 pm

Re: Creating a poll with php
-----------------------------------
i did read the tutorial on connecting to sever but how do you acctually create the poll with the buttons stuff?

-----------------------------------
rdrake
Tue May 01, 2007 5:33 pm

RE:Creating a poll with php
-----------------------------------
You're going to want to read up on (X)HTML before you even attempt something like this.  It's fairly simple, just check out the tutorials [url=http://www.w3schools.com/xhtml/default.asp]here.  Afterwards you will understand how to place buttons (those are in something called forms) and everything else you need on the user side of things.

A good knowledge of SQL couldn't hurt either.  Again, [url=http://www.w3schools.com/sql/default.asp]here has plenty of excellent tutorials and examples.

If you just want to have a poll but not do any work, there are plenty of pre-made scripts out there on the web for you to use.

Other than that I'm not sure how much more help I can be.  You will have to know (X)HTML, (My)SQL, and PHP for sure before you even attempt this.
