Professor: Iyad Koteich
Objective: Using a MariaDB database, create a simple PHP program to:
- Create a new account
- Login user
I'm using in this example some technologies like HTML5, CSS3, PHP, and MySQL(MariaDB)
Table: users
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstName` varchar(120) NOT NULL,
`lastName` varchar(120) NOT NULL,
`password` varchar(120) NOT NULL,
`email` varchar(120) NOT NULL,
`phone` varchar(120) NOT NULL,
`last` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
All files from this project you can find on GitHub: GitHub-Link