Hi,
leave out the "@", and give us the error message.
"@" suppresses error messages of any function.
HTH,
Bastian
> mySQL; php running in safe mode; compared to the other code on the same
> server. here is mine - I don't get any connection. What could be wrong?
> Also, what does this @ sign mean before the mysql_connect?
>
> function dbopen(){
> $tablename = "balzerdez02";
> $dbname = "marketingcompany";
> $hostname="localhost";
> $username="tmc";
> $password="t7t7k1k1";
> $dbconn=@mysql_connect($hostname,$username,$password);
> mysql_select_db($dbname) or die ("Could not find the table");
> echo("$dbconn :- connect");
> }
>
> dbopen();
>
> Thanks.
> -Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php