Hello i always encounter this kind of stupid problem when im creating a sql table automatically .
This is my automatic sql
/*
DROP TABLE IF EXISTS `WOE`;
CREATE TABLE `WOE` (
`test` int(11) unsigned NOT NULL auto_increment,
`test1` varchar(34) NOT NULL default '',
`test2` INT(11) NOT NULL,
`test3` DATETIME NULL,
`test4` DATETIME NULL,
`test5` TINYINT(1) NOT NULL,
`test6` DATETIME NULL,
PRIMARY KEY (`test`)
) ENGINE=MYISAM DEFAULT CHARSET=utf8;
*/
I tried to use this on my phpmyadmin and its work fine but when i try to put this on npc it would not create .. Any IDEA ? I learn from my mistake so please point it out my mistake ^_^ Thx
Question
Poring King
Hello i always encounter this kind of stupid problem when im creating a sql table automatically .
This is my automatic sql
/* DROP TABLE IF EXISTS `WOE`; CREATE TABLE `WOE` ( `test` int(11) unsigned NOT NULL auto_increment, `test1` varchar(34) NOT NULL default '', `test2` INT(11) NOT NULL, `test3` DATETIME NULL, `test4` DATETIME NULL, `test5` TINYINT(1) NOT NULL, `test6` DATETIME NULL, PRIMARY KEY (`test`) ) ENGINE=MYISAM DEFAULT CHARSET=utf8; */
I tried to use this on my phpmyadmin and its work fine but when i try to put this on npc it would not create .. Any IDEA ? I learn from my mistake so please point it out my mistake ^_^ Thx
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.