Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Naujausi komentarai

Parašė ramon· 2008 Rugp. 18 00:08:40
#8

$a = "SELECT * FROM ".DB_PREFIX."comments WHERE comment_type='P' OR comment_type='N' OR comment_type='A' ORDER BY comment_datestamp DESC LIMIT 5";
$b = dbquery($a);
echo "<b>Naujausi komentarai</b><Br>";
while ($db = dbarray($b)) {

echo "<hr>".$db['comment_message'];
}