Hi I want to use php scripts to rank players, but I can't get the scripts to connect to my database. I am using the default port 3306, which is opened on my router.
Since I am behind a router would I have to include the port some where? How would it know which computer to connect to?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
rubix123
Hi I want to use php scripts to rank players, but I can't get the scripts to connect to my database. I am using the default port 3306, which is opened on my router.
Since I am behind a router would I have to include the port some where? How would it know which computer to connect to?
$db_link = mysql_connect('host', 'user', 'password');
Any help would be appreciated :)
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.