Grey_Wolf Posted January 27, 2005 Report Share Posted January 27, 2005 piemeram: $db=mysql_pconnect('localhost', 'useris', 'parole'); if (!$db) { echo "kljuda<br>"; } echo mysql_errno(); echo "<br>"; echo mysql_error(); ja nav palaists MYSQl tad ir saads pazinjojums ---- Warning: mysql_pconnect(): Can't connect to MySQL server on 'localhost' (10061) in c:\apache\htdocs\eror_test.php on line 9 kljuda 2003 Can't connect to MySQL server on 'localhost' (10061) --- Jautaajums: vai var panaakt ka netiek izvadiits iebuuveetais PHP kljudas pazinjojums - nemainot PHP.ini un neizmantojot error_reporting() , lai atslegtu kljudas pazinjojumu. respektiivi ja ir MYSQL kljuda tad taa tiek apstraadaata ar mysql_er*() bet PHP pazinjojums netiek izvadiits Link to comment Share on other sites More sharing options...
bubu Posted January 27, 2005 Report Share Posted January 27, 2005 $db=@mysql_pconnect('localhost', 'useris', 'parole'); if ($db===false) { echo "kljuda<br/>"; echo mysql_errno(); echo "<br/>"; echo mysql_error(); } Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 28, 2005 Author Report Share Posted January 28, 2005 Paldies. Cik saprotu f-jai priekshaa jaaliek @.... Kas neljauj izvadiit iebuuveetos PHP pazinjojumus.... Link to comment Share on other sites More sharing options...
Recommended Posts