<?php |
$con = mysql_connect( "localhost" , "" , "" ); |
mysql_select_db( "w3m" ); |
$sql = "CREATE TABLE updfiles (" |
. " id INTEGER NOT NULL AUTO_INCREMENT" |
. ", name VARCHAR(80) NOT NULL" |
. ", type VARCHAR(80) NOT NULL" |
. ", size INTEGER NOT NULL" |
. ", content BLOB" |
. ", PRIMARY KEY (id)" |
. ")" ; |
mysql_query($sql, $con); |
mysql_close($con); |
?> |