Parašė kesiukas· 2009 Bal. 6 16:04:40
#17
_MaZvE_ parašė:
if (!$result) $fail = "1";
$result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."panels");
$result = dbquery("CREATE TABLE ".$db_prefix."panels (
panel_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
panel_name VARCHAR(100) NOT NULL DEFAULT '',
panel_filename VARCHAR(100) NOT NULL DEFAULT '',
panel_content TEXT NOT NULL,
panel_side TINYINT(1) UNSIGNED NOT NULL DEFAULT '1',
panel_order SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
panel_type VARCHAR(20) NOT NULL DEFAULT '',
panel_access TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
panel_display TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
panel_status TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (panel_id)
) TYPE=MyISAM;");
Mazve, o tai reikai sukurti lentele "fusion_panels" ir ta koda i ja ideti? Ir kaip is vis ta lentele reika ipro doumbaze sukurti?
Redagavo kesiukas· 2009 Bal. 6 17:04:22