Free Flash Website Poll but I don't know how to use it.

They have: 5 posts

Joined: Jan 2005

Hi,

I found a free flash website poll that I want to add to my website but, I don't know how to use it. http://forums.seochat.com/t18127/s.html

If you download it you will find the directions which seem to be straightforward until you get here:

$database_poll = "root";//This is the database name
$username_poll = "user";//This is the username associated with the DB

I believe it is asking me to replace "root" with the name of the database and "user" with name of associated with the database.
Unfortunately I don't know what either of these mean.

I would think these items would already be in the files that came with the free download but why then would we be asked to edit the names above?

If anybody has any ideas what to change the two values above to, let me know.

Thanks, Al

ValleyPages's picture

He has: 46 posts

Joined: Nov 2001

al, you need to have an SQL database...you simple have to put the database's name and user. look for MySQL to set that up

They have: 5 posts

Joined: Jan 2005

There is a file named mysql.php that came with the download.

You are saying I should replace "root" with the file named "mysql.php"? Include the .php?

Do I just assign a user name to replace "user" or is there somthing else I need to put here?

Thanks, Al

He has: 1,758 posts

Joined: Jul 2002

Basically your hosting provider should provide you with access to a MySQL database in order for you to be able to use this script. When they set it up, they will give you a username and password to access the database. That's what you need to enter in those fields.

Andy

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.