Thanx for that. I telnet it and i connected. As you say, the problem must be in the query, because the echo($main) comman returns a connection ID, where
$main= mysql_connect("127.0.0.1", "root", "pass");
but echo($main01) return false, where
$main01 =...