Do SQL connections opened with PDO in PHP have to be closed

后端 未结 6 1503
野的像风
野的像风 2020-11-28 07:36

When I open a MySQL connection in PHP with just PHP\'s built-in MySQL functions, I do the following:

$link = mysql_connect($servername, $username, $password)         


        
6条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 07:51

    http://uk3.php.net/pdo

    From what i gather i could not see anyway to close it in the php manual, and examples of scripts i quickly looked at never closed the connection in anyway from what i could see.

提交回复
热议问题