am i right in thinking that should i want to add a few new fields to this the code should be:
create table Players
( PlayerID integer not null primary key auto_increment
, Forename varchar(50)
, Surname varchar(50) not null
, DOB date
, RegNo tinyint
, Photo varchar(255)
, Nickname varchar(50)
, Comments varchar(255)
, Position varchar(50)
, GamesPlayed tinyint
, GoalsScored tinyint
);
The new fields being
, Position varchar(50)
, GamesPlayed tinyint
, GoalsScored tinyint
also when i insert a new record via a form do i have to include the PlayerID field or just start from the Forename field? i think the PlayerID number is created automatically
please advise!!