bool db_create_table (string tablename, mixed fieldnames, mixed fieldattrib [, string idfield [, mixed valarray]])
Creates a table in the current database.
tablename is the name of the table to be created.
fieldnames is a set of identifiers that may be an array or a CSV string (without the "id" field).
fieldattrib is a set of fieldtypes that may be an array or a CSV string (without the "id" field).
idfield is the name of identifier field (column). idfield is also the auto-incrementing primary key. Default is "id".
valarray is a string with the values of the records desired. It may be an array or a CSV string.
The result will be TRUE if the table was created or FALSE if the table already exists, could not be created or the records not be created.