Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Dodatkowe strony
#1
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


Kod PHP:
<?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 ;
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości