Ezilon.com - Target Your Audience, be Seen in Your Region

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

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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

andy206uk's picture
DeveloperModerator

He has: 1,754 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.

Andyk

Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.