To link from a PHP script to your database, use the following code:
mysql_connect("localhost", "admin", "password");
For this you replace:
- localhost: by the name of your database.
- admin: by the administrator login of your database.
- password: by the administrator password of your database.