::::::ÅëÇÕ APM ¼³Ä¡Çϱâ ::::::::::::::::::::::::: :::::::Å×½ºÆ®.PHP::::::::::::::::::::::::::::::::::: $connect=mysql_connect("localhost","root","apmsetup"); $db=mysql_select_db("test",$connect); $query="create table memo( num int not null, name varchar(20) not null, memo varchar(100) not null)"; $result=mysql_query($query,$connect); if($result){ echo "Å×ÀÌºí »ý¼º ¼º°ø!"; }else { echo "Å×ÀÌºí »ý¼º ½ÇÆÐ!"; } ?> ....................................................... ***À§¹®¼¸¦ C:APM_Setup\htdocs\Æú´õ¼Ó¿¡ db.phpÀúÀåÇÑ´Ù. :::::::MYSQLÀÛ¾÷ÇØÁÖ±â::::::::::::::::::::::::::::::::::::: Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\Documents and Settings\Administrator>mysql -u root -p Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 to server version: 4.0.21-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show databases; +----------+ | Database | +----------+ | mysql | +----------+ 1 row in set (0.05 sec) mysql> create database test; Query OK, 1 row affected (0.02 sec) mysql> show tables; ERROR 1046: ¼±ÅÃµÈ µ¥ÀÌŸº£À̽º°¡ ¾ø½À´Ï´Ù. mysql> use test; Database changed mysql> show tables; +----------------+ | Tables_in_test | +----------------+ | memo | +----------------+ 1 row in set (0.00 sec) mysql> desc memo; +-------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+--------------+------+-----+---------+-------+ | num | int(11) | | | 0 | | | name | varchar(20) | | | | | | memo | varchar(100) | | | | | +-------+--------------+------+-----+---------+-------+ 3 rows in set (0.02 sec) mysql> mysql> mysql> ::::::::::: ¿¬°áÅ×½ºÆ®Çϱâ::::::::::::::::::::::::::::::: http://localhost/db.php ##############2±³½Ã#################### ---Á¤¸®³ëÆ®--- i ---¹®¼¸¦ memoinput.htmlÀúÀåÇϼ¼¿ä-------------------- (C:APM_Setup\htdocs\Æú´õ¼Ó¿¡ memoinput.htmlÀúÀå)