:: Forums :: Discussions :: YourFirstPlugin
 
<< Previous thread | Next thread >>
plugin.php
Moderators: nlstart
This thread is now closed
Author Post
pinhead
Registered Member #818
Joined:
Location: antwerp
Posts: 10
I tried to make tables , this works

"CREATE TABLE ".MPREFIX.DB_TABLE_CD_DVD_THEEK_TABLE." (
`cd_dvd_theek_id` int(10) unsigned NOT NULL auto_increment,
`cd_dvd_theek_date` varchar(255) NOT NULL default '',
`cd_dvd_theek_titel` varchar(255) NOT NULL default '',
`cd_dvd_theek_artist` varchar(30) NOT NULL default '',
`cd_dvd_theek_image` varchar(30) NOT NULL default '',
`cd_dvd_theek_type` varchar(30) NOT NULL default '',
`cd_dvd_theek_release` varchar(30) NOT NULL default '',
`cd_dvd_theek_style` varchar(30) NOT NULL default '',
`cd_dvd_theek_active_status` int(11) unsigned NOT NULL default '1',
`cd_dvd_theek_order` int(11) unsigned NOT NULL default '1',
PRIMARY KEY (`cd_dvd_theek_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;", //,

But if i add one more i get "can create table" when i install it.

Why is that ?

Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System