Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Naujausi komentarai
Parašė ramon· 2008 Rugp. 17 00:08:42
#2
Kzn cia is atmintes rasiau, turbut net kieliu lenteliu nera bet imk koda jei bus klaidu turek omeny kad is atmintes rasiau :
$a = "SELECT * FROM ".DB_PREFIX."comments WHERE comment_type='P' AND comment_type='N' AND comment_type='A' ORDER BY comment_datestamp ASC/DESC LIMIT 5";
$b = dbquery($a);
while ($db = dbarray($b)) {
echo $db['comment_message']."<Br>";
}