Uldeens Posted September 4, 2004 Report Share Posted September 4, 2004 Var kautkaa izdariit lai tev to raada kaa eroru ka nav mysql close?? Man itkaa visur ir bet,peec laika paraadaas max connections reached... Man ir chats PHP+MySQL Link to comment Share on other sites More sharing options...
bubu Posted September 5, 2004 Report Share Posted September 5, 2004 Nu domāju, ka šādi: <?php if (mysql_connect($server, $user, $pass) === false) { echo 'Kļūda konektējot: ', mysql_error(); die(); } ?> Link to comment Share on other sites More sharing options...
neonz Posted September 5, 2004 Report Share Posted September 5, 2004 Dokumentaaciju lasi? bool mysql_close ( [resource link_identifier]) Returns TRUE on success or FALSE on failure. Link to comment Share on other sites More sharing options...
Recommended Posts