Web sitemizin yeni sistemini yayın hayatına koyduk.
Hepimize hayırlı olsun
CMS V.3
Detaylar İçin Buraya Tıklayın
Forumdaki Son 10 başlıgı nasıl yazdırırım?

Forumdaki Son 10 başlıgı nasıl yazdırırım?
<?
$dbhost = "localhost"; //MySQL Host
$dbname = "db_adi"; //Database adi
$dbusername = "user"; //MySQL kullanici adi
$dbpassword = "sifre"; //MySQL kullanici sifresi
if(!($connection = @ mysql_connect ($dbhost, $dbusername, $dbpassword)))
die ("database baglanti hatasi");
mysql_select_db ($dbname, $connection);
?>
<?
include("baglanti.php");
$result=@mysql_query("select * from phpbb_topics ORDER BY topic_id desc LIMIT 10");
while($row=@mysql_fetch_array($result)){
echo "
<table width='200' border='0' cellspacing='0' cellpadding='1' style='border-bottom: 1px dashed #e5e5e5'>
<tr style='background-color: $loopedBG;'><td width='1' height='15'></td>
<td><font face='Verdana' size='1'><font color='#31659C'><a href='viewtopic.php?t=".$row['topic_id']."' target='newwindow'>".$row['topic_title']."</a></font>
</td>
</tr>

Forumdaki Son 10 başlıgı nasıl yazdırırım?

Forumdaki Son 10 başlıgı nasıl yazdırırım?

Forumdaki Son 10 başlıgı nasıl yazdırırım?
<?
include("baglanti.php");
$result=@mysql_query("select * from phpbb_topics ORDER BY topic_id desc LIMIT 10");
while($row=@mysql_fetch_array($result)){
echo "
<table width='200' border='0' cellspacing='0' cellpadding='1' style='border-bottom: 1px dashed #e5e5e5'>
<tr style='background-color: $loopedBG;'><td width='1' height='15'></td>
<td><font face='Verdana' size='1'><font color='#31659C'><a href='viewtopic.php?t=".$row['topic_id']."' target='newwindow'>".$row['topic_title']."</a></font>
</td>
</tr>

Forumdaki Son 10 başlıgı nasıl yazdırırım?
