the '@' sign suppresses the error/warning messages. Perhaps you would want to
leave that off in a development environment. It may lead to some good keys to
finding the solution..
-Brad
> 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
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php