데이터베이스/SQL
[MySQL API] mysql_close()
광박이
2011. 3. 3. 10:25
728x90
연결중인 MySQL 서버로의 연결을 끊는다
【예제】
<html><body>
< ?
$result=mysql_connect("localhost","root","root_password")
or die("DB connection Failed ....");
$res2= mysql_close($result);
echo $res2;
? >
</body></html>
728x90