O
old.Pac
Guest
Use the following script:
<?php
// Set the variables for the database access:
$Host = "localhost";
$User = "username";
$Password = "password";
$DBName= "DBName";
$TableName = "TableName";
$Link = mysql_connect ($Host, $User, $Password);
That connects you to the database. You then do your queries etc. Then you close the database,
mysql_close ($Link);
?>
Hope that helped some people
<?php
// Set the variables for the database access:
$Host = "localhost";
$User = "username";
$Password = "password";
$DBName= "DBName";
$TableName = "TableName";
$Link = mysql_connect ($Host, $User, $Password);
That connects you to the database. You then do your queries etc. Then you close the database,
mysql_close ($Link);
?>
Hope that helped some people