Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Mysql_error a 2 polaczenia mysql
-CryTech97-
post
Post #1





Goście







Witam, dlaczego gdy mam taki kod:

$_DB_MT2 = @mysql_connect($conf['_MYSQL_MT2']['HOST'], $conf['_MYSQL_MT2']['USER'], $conf['_MYSQL_MT2']['PASS'])or die(mysql_error());
$_DB_WWW = @mysql_connect($conf['_MYSQL_WWW']['HOST'], $conf['_MYSQL_WWW']['USER'], $conf['_MYSQL_WWW']['PASS'])or die(mysql_error());

w 2 laczeniu gdy podam zle dane nie wyswietla mi bledu mysql a w 1 wyswietla?

Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 22:18