The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
Adding automatically Database Table
-
Recently Browsing 0 members
- No registered users viewing this page.
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.