Просмотр поста

.
Nato

very easy if you know mysql_query and fetch array.
for show guestbook in every page you want to just use

$content = mysql_query("SELECT `name`, `time`, `text` FROM `guest` ORDER BY time DESC LIMIT 5");
$show = mysql_fetch_array($content);

from the mysql_query:
SELECT : choose columns
FROM : from table
ORDER BY: order the rows by ...
DESC LIMIT: limited of the rows
for showing
echo '<div class="list1">'.$show['name'].': '.$show['text'].' ('.functions::display_date($show['time'].')</div>';

and that for showing chat rows. for form chat, you must learn about INSERT INTO database.
-----
for new post just change SELECT , FROM.
and that all. if you want to know more just give me a PM. i'll reply when i see the message.