CREATE TABLE banneradmin (
id int(11) DEFAULT '0' NOT NULL auto_increment,
adminuser varchar(15) NOT NULL,
adminpass varchar(15) NOT NULL,
PRIMARY KEY (id),
UNIQUE id (id, adminuser)
);
INSERT INTO banneradmin (id, adminuser, adminpass) VALUES (1, 'admin', 'pass');
if id=1 do I put 1 in the field area of the table or the value ie...
field type length/values attributes default
id int 11 0
adminuser var admin 15
adminpass var pass 15
id
id,adminuser 1,admin
as you can see I have not got much of an idea about the layout of where the things go as I only just started today but if I get this bit right I should be ok I hope someone can help and if anyone knows where I can get an idiots guide to php would be most welcome.
Thanks