If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi i am very new to php and mysql i dont know waht these values mean and what i am supposed to input inside of them.

$POLLDB["dbName"] = "YourDBName";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "YourUsername";
$POLLDB["pass"] = "YourPassword";


Would someone plz help me i dont know what to put where it says dbname or local host and would some plz post an example thanks nikki.
andyl56
Beginner

Joined: 12/10/2002 20:50:48
Messages: 5
Offline

$POLLDB["dbName"] = "YourDBName";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "YourUsername";
$POLLDB["pass"] = "YourPassword";

$POLLDB["dbName"] is the database name. The person that hosts your website should have given this information to you. I host my own site so I created my own named POLL

$POLLDB["host"] is the host. In most cases, localhost will work. Only change this if your host told you to.

$POLLDB["user"] is the username you use to access mysql. This should have also been given to you upon registration. Mine is root.

$POLLDB["pass"] is the password you use to access mysql. This also should have been given to you. Obviously, im not telling you what that is .

Hope this helped

- Andrew (andyl56)
[Email] [WWW] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum