I used the following code:
1: $query = "create table users (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY( id ), current_ip char(15), last_visit INT DEFAULT '0' NOT NULL )";
2: $result = mysql_query( $query );
3: $query = "create table admin ( admin_user VAR(30), admin_pass VAR(30) )";
4: $result = mysql_query( $query );
5: $query = "INSERT INTO admin ( admin_user, admin_pass ) values ( '$admin', '$passwrd' )";
6: $result = mysql_query( $query );
but the problem is that is only creates the first table, i'm just learning php and i was making an install script but it doesn't work