$tablename="datalist";
// connect
$link=mysql_connect($dbserver, $dbuser, $dbpass) or die ("Can not connect the database".mysql_error());
mysql_select_db($dbbase)or die ("ไม่สามารถเลือกตารางได้");
mysql_query("DROP TABLE IF EXITS $tablename");
$sql="create table $tablename(
id int(4) not null auto_increment,
name varchar(30) not null,
email varchar(30) not null,
address varchar(30) not null,
primary key(id)
)";