Search the Community
Showing results for tags 'page 53'.
I recently bought your Effortless e-Commerce book, and it's a great book; I'm truly having fun reading it. Thanks! . On page 53, right before the 'Create Table' code, it says I could download it from your website. I downloaded the zipped files for the two exercises, but can't figure out which one of them is the 'Create Table' code, nor can I find it anywhere on this website. What am I missing? Kindly help. Thanks again for your teaching and support. - Cynthie.
Hey when I import your SQL file into my database I get this error CREATE TABLE `users` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `type` ENUM('member','admin') NOT NULL DEFAULT 'member', `username` VARCHAR(45) NOT NULL, `email` VARCHAR(80) NOT NULL, `pass` VARCHAR(255) NOT NULL, `first_name` VARCHAR(45) NOT NULL, `last_name` VARCHAR(45) NOT NULL, `date_created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `date_expires` DATE NOT NULL, `date_modified` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE INDEX `username_UNIQUE` (`username` A