Jesi siguran da server podrzava spoljasnje konekcije?
ako su ti i php stranice na istom serveru probaj:
<?
// kod
mysql_connect ("localhost","user","pass");
// kod
?>
"We are what we repeatedly do.
Excellence, then, is not an act,
but a habit."
-Aristotle