I want to execute a simple prepared Statement using mysqli, but it won\'t work.
I have this table:
CREATE TABLE IF NOT EXISTS `account` ( `id` int(11)
Well I think you have to do this:
CREATE TABLE IF NOT EXISTS `account` ( `id` PRIMARY KEY int(11) NOT NULL AUTO_INCREMENT, // the rest
The above code makes the id field of your table as PRIMARY KEY so it never repeats itself and it remains the index of your table.
PRIMARY KEY