Funmobile Last Post

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

6 replies · 593 views · started 19 years ago · 1 min read

4 participants
metulj Super moderator Principal · 1,726 posts #2

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ノ刀ノイリ!

mcKeny Developer · 130 posts #3

HMMM

R.M.C

PHP Adovocate B)

mcKeny Developer · 130 posts #5

hmmm hey dude you must use your head at times anyways change

sid to ses

R.M.C

PHP Adovocate B)

learner Lead · 587 posts #6

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!!

BEST MOBILE ADVERTISER

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close