Wczoraj, 05:51 PM
Pewnie nie raz będzie nam potrzebne dodanie kilku stron z informacjami dla użytkownika . Do tego celu posłuży nam tabela fb_page z polami : identyfikator strony , tytuł oraz treść .
Tabela zawierająca strony
Tabela zawierająca strony
Kod PHP:
create table `fb_page` (
`page_id` int(11) not null auto_increment,
`page_title` varchar(255) collate utf8_unicode_ci not null,
`page_content` text collate utf8_unicode_ci not null,
primary key (`page_id`)
) engine=myisam default charset=utf8 collate=utf8_unicode_ci auto_increment=1 ;