
Jay Lepore - 2013-01-01 21:44:17
Line 65 Create Table. Your code missing 'primary key'. Fails to create table because auto_increment requires primary key notation.
CREATE TABLE TB_USERS (
ID INT(11) NOT NULL AUTO_INCREMENT primary key,
NAME VARCHAR(100) NOT NULL,
ADDRESS VARCHAR(100) NOT NULL,
COMPANY VARCHAR(100) NOT NULL
);
---------------------------------------------
Implement Transactions
Fails because $db->disconnect(); appears above Transactions tutorial. Moved this $db->disconnect(); line to the bottom and all is perfect.
Jay
CompuMatter