Learning PHP and MySQL
Example 13-6 Creating the users table to store login information
CREATE TABLE `users` (
`user_id` INT NOT NULL AUTO_INCREMENT,
`first_name` VARCHAR(100),
`last_name` VARCHAR(100),
`username` VARCHAR(45),
`password` CHAR(32), PRIMARY KEY (`user_id`));
This code returns:
Query OK, 0 rows affected (0.23 sec)
Posted by on 09/25 at 11:28 AM