Parašė Enzo· 2008 Geg. 15 16:05:49
#9
LeBro parašė:
taj, kad sukurti tiek as dar suprantu :D bet klausimas "kaip" sukurti ?|
https://webdnd.com/readarticle.p...icle_id=70
O lentelė kurią sukurt reikia:
$result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."photo_albums");
$result = dbquery("CREATE TABLE ".$db_prefix."photo_albums (
album_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
album_title VARCHAR(100) NOT NULL DEFAULT '',
album_description TEXT NOT NULL,
album_thumb VARCHAR(100) NOT NULL DEFAULT '',
album_user SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_order SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (album_id)
) TYPE=MyISAM;");