Thanks a lot Peter.
I have corrected those ints..
But the main solution came out when I changed sql to the folowing..
$sql= 'CREATE TABLE sometable (id int(11) default NULL auto_increment, field2 int(10) default NULL, fiel1d varchar(25) default NULL, field3 int(10) default NULL, PRIMARY KEY (id)) TYPE=MyISAM;';
Hope this helps somebody, someday ...