XOOPS Version XOOPS 2.4.4
PHP Version 5.2.9
mySQL Version 5.0.89-community
Quote:
Database tables field collation?
CHARSET=latin1 ?
Database tables field collation?
$modversion['dirname'] = basename(dirname(__FILE__));
$modversion['name'] = ucfirst(basename(dirname(__FILE__)));
CREATE TABLE `mycontent_details` (
`id` int(10) unsigned NOT NULL auto_increment,
`filename` varchar(200) default NULL,
`metakeywords` mediumtext,
`metadescription` mediumtext,
`pagetitle` mediumtext,
`doctitle` mediumtext,
`content` mediumtext,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
global $xoopsDB;
mysql_query("DELETE from ".$xoopsDB->prefix("mycontent_details")." where id='" . $_GET['del'] . "'");