25.12.2017, 12:24
You need to add the columns to your CREATE TABLE query, see example below:
Do you have debug enabled? If not you should enable and then check your MySQL log. As you're using a very outdated version of the MySQL plugin I'm not familiar with the functions but try this:
Place it before your connection code.
Also generally speaking I don't think it's worth the effort trying to create tables in Pawn, would it not be easier to simply create the table in phpMyAdmin?
Код:
CREATE TABLE IF NOT EXISTS `terma`(`ID`int AUTO_INCREMENT PRIMARY KEY)
Код:
mysql_debug(1);
Also generally speaking I don't think it's worth the effort trying to create tables in Pawn, would it not be easier to simply create the table in phpMyAdmin?