plz give me last post coding.
Funmobile Last Post
Started on the old forum in November 2007 · view the original in the archive · old links redirect here
plz give me last post coding.
you got your answer already here ==>>> FLOODER
so why the f**k you started another topic with same query??? External image (may be gone)
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
its not wrking 4 funmobile.
try this one man and save it as lastpost.php and where ever u want it to show put
include 'lastpost.php'
<?php
$lpt = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_topics ORDER BY
lastpost DESC LIMIT 0,1"));
$nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts"));
if($nops[0]==0)
{
$pinfo = mysql_fetch_array(mysql_query("SELECT authorid FROM ibwf_topics"));
$tluid = $pinfo[0];
}else{
$pinfo = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_posts ORDER BY dtpost
DESC LIMIT 0, 1"));
$tluid = $pinfo[0];
}
$tlnm = htmlspecialchars($lpt[1]);
$tlnick = getnick_uid($tluid);
$tpclnk = "<a
href=\"index.php?action=viewtpc&ses=$ses&tid=$lpt[0]&go=last\">$tlnm</a>";
$vulnk = "<a
href=\"index.php?action=viewuser&ses=$ses&who=$tluid\">$tlnick</a>";
echo "Last Post: $tpclnk, BY: $vulnk
";
?>
correct me if i have done wrong somewhere but hey it had been posted somewhere earlier kindly use search before making a new topic...
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
hey learner thanks