showing user name in recent_comments() function
|
08-03-2011, 02:08 PM
(This post was last modified: 08-03-2011 02:45 PM by Punktured.)
Post: #1
|
|||
|
|||
showing user name in recent_comments() function
If you would like to show the username with the recent comments,
or the username and date, replace this line with one of the two others provided: Code: $kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; To show Username: Code: $kategoriler=$kategoriler.'<li>'.$row['adi'].'<br><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; To show Username and date: Code: $kategoriler=$kategoriler.'<li>'.$row['adi'].'<br>'.$row['tarih'].'<br><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; BE SURE TO CLEAR YOUR CACHE ONCE MAKING CHANGES Custom HTML/CSS/PHP http://theorderofindividualacceptance.co...p.php?id=1 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
showing user name in recent_comments() function - Punktured - 08-03-2011 02:08 PM
|