i have a premium account and the helpdesk isnt able to solve my problem
the final goal is to connect to remote mysql from my client (in VB.NET) into my pc, but first i want test with a STANDARD php script....
my ip on hosting24.com is 174.36.100.112
Code:
<?PHP
$db_server = mysql_connect('174.36.100.112','my db user','my db password');
if ($db_server){
print "SERVER ok";
$db_selez = mysql_select_db('my db name', $db_server);
if ($db_selez){
print "DB ok";
$utente = mysql_query("SELECT * FROM users WHERE username = 'admin'", $db_server);
if ($utente){
while ($rec = mysql_fetch_array($utente)){
$nome = $rec[3];
}
print $nome;
}else{
print "NO TABLE";
}
}else{
die("Couldn't select database: ".mysql_error());
}
}else{
die ("Couldn't connect to server.");
}
?>
the connection to server it's OK
but the connection to my db NO...
HELP PLS!