Hi, i've instaled a apache server on my computer, but know I want to put the files in my web server(host) however I have a problem:
My database is like this:
$users = "xxxxx";
$pass = "xxxxx";
$db = "xxxxxxx";
$link = @mysql_connect( "localhost", $users, $pass );
if ( ! $link ) {
die( "Couldn't connect to MySQL: ".mysql_error() );
}
@mysql_select_db( $db )
or die ( "Couldn't open $db: ".mysql_error() );
However I think the link do not work on my web server because of the localhost,
isn't right?
thanks