PHP interesse |
|
Ik snap eigenlijk de uitleg wel, maar ik heb geen id hoe ik dit in kan voegen in MySql.
Deze SQL code gebruik ik nu;
CREATE TABLE `login` (
`loginid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`username` varchar(30) NOT NULL,
`password` varchar(50) NOT NULL,
`email` varchar(255) NOT NULL,
`actcode` varchar(45) NOT NULL,
`disabled` tinyint(1) NOT NULL DEFAULT '0',
`activated` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`loginid`)
);
CREATE TABLE `login` ( `loginid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, `username` varchar(30) NOT NULL, `password` varchar(50) NOT NULL, `email` varchar(255) NOT NULL, `actcode` varchar(45) NOT NULL, `disabled` tinyint(1) NOT NULL DEFAULT '0', `activated` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`loginid`) );
|