Flowdy Posted November 27, 2007 Share Posted November 27, 2007 Am following a little example code which is helping me learn, but am alittle confused at this part example code // Set the variables below to match your settings $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = ''; $dbname = 'mygame'; I'm ko with the $dbhost as mine is localhost also, but the $dbuser am guessing is the username of the database..so i created a database and added a username that database...but am confused with if i should put poison_flow or just flow for the $dbuser..and then what would i put the password? the password i created with the username for the database? thanx for any help Link to comment https://forums.phpfreaks.com/topic/79083-solved-a-little-confused/ Share on other sites More sharing options...
Orio Posted November 27, 2007 Share Posted November 27, 2007 You need to create a database, and enter it's name into $dbname. Then you need to create a user-pass combination to that database, and enter them into $dbuser, $dbpass.... Orio. Link to comment https://forums.phpfreaks.com/topic/79083-solved-a-little-confused/#findComment-400232 Share on other sites More sharing options...
Flowdy Posted November 27, 2007 Author Share Posted November 27, 2007 Thank you, i had a huntch i just wanted to make sure Link to comment https://forums.phpfreaks.com/topic/79083-solved-a-little-confused/#findComment-400235 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.