This is how my information is displayed
$count = mysql_result(mysql_query('SELECT COUNT(*) FROM `blog`'), 0); if ($count > 0) { $req = mysql_query("SELECT * FROM `blog` ORDER BY `id` DESC LIMIT " . $start . "," . $message); while ($row = mysql_fetch_assoc($req)) { echo '<b>'.$row['name'].'</b> '.times($row['time']).'<br/>'; if (mb_strlen($row['text']) > 149) { $text = mb_substr($row['text'], 0, 149); echo ''.$text.'...'; } else { echo $row['text']; } echo '<br/><a href="'.$home.'/admin/blog.php?view&id='.$row['id'].'">ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅</a><br/> <a href="'.$home.'/admin/blog.php?edit&id='.$row['id'].'"><input type="submit" value="ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΠΏΠΈΡΡ"/></a> <a href="'.$home.'/admin/blog.php?del&id='.$row['id'].'"><input type="submit" value="ΡΠ΄Π°Π»ΠΈΡΡ Π·Π°ΠΏΠΈΡΡ"/></a> <div id="hr"></div>'; } if ($count > $message) { echo ''.pagenav('?', $start, $count, $message); } } else { echo 'ΠΠ°ΠΏΠΈΡΠΈ Π΅ΡΠ΅ Π½Π΅ ΡΠΎΠ·Π΄Π°Π½Ρ!'; }
And how to make the output of information using memkes? For information to be cached, say, for half an hour.