• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

I need help installing a PHP and MySQL poll on my website! Help!

Hey guys. I start off by saying I know nothing about php or mysql, and pretty much need direct instructions on what to do.

Here is the poll I'm gonna use.

Any instruction on what to do will be GREATLY appreciated. Once I know how to do it, I should have no problem incorporating it into my site, link is in my sig.

Thanks!
 
Come on Ross! I think if I had any tiny bit of understanding of how php and mysql works, I could figure it out. But I'm clueless! I wouldn't think it'd be that hard with only 5-10 files to work with.

Anyone else out there who can give us some hints??
 
1) Create the db table using the poll.sql file, or use the info in that file to create a table using a telnet command line or a GUI like PHPMYAdmin
2) Edit the variables for host, user, password, etc in the config.inc.php file
3) Upload everything to a directory on your host
4) Use your browser to go to www.yourhost.com/directory/admin.php

If you're not capable of creating tables, ignore the above instructions and read a PHP/MySQL primer. Anything done in PHP/MySQL is going to assume that you have a clue. If not, you've got to start at the beginning and learn how to handle the basics before installing 3rd-party programs.
 
Your web host should have provided you with the DB host name, your database(s) name(s), your DB user name and your password. All those things are mandatory for any database apps and there will be variables for easily setting them in any PHP/MySQL script. Almost always there will be a file name config.php or config.inc or something similar with "config" in the file name. Usually that's the only file that needs editing, at least by a beginner.
 
Thanks a million for those quickie instructions. I'll see what I can do with that, and Ross, if you have anything to add, feel free. I'll give it a whirl in a while and see what I can come up with.
 
I set the thing up on my PC and it's fine, there's no real setup involved other than creating the table and setting the variables. It's written in Italian and there's no readme with setup instructions, but it's simple enough that that shouldn't matter. Just create the table, set the variables, upload and you go to the admin page to create a poll.
 
Back
Top