$conn = mysql_connect('host', 'user', '***');
$db = mysql_select_db('data_base_name');
$query = "CREATE TABLE tablename (
field_name type not null primary key unique auto_increment,
other_field type null,
date timestamp,
last_field varchar(50)
)
";
$result = mysql_query ($query);
.......
......
the query string is a standard mysql query
http://www.mysql.com/documentation/index.html - to read more about query