데이터베이스/SQL

[MySQL API] mysql_create_db()

광박이 2011. 3. 3. 10:29
728x90

새로운 데이터베이스를 생성

【예제】
<html><body>
< ?
  $con=mysql_connect('localhost','root','root_password');
    echo ("$con <br>");
  $res=mysql_create_db("test_db",$con);
    echo ("$res <br>");
? >
</body></html>
728x90