well, since Doramoon told me she/he has that in her/his file post_info.asp, i was confused because i did not see the relation to the Last Post mod, i thought i'd better ask...
dayve, thanks for the code! your file, and mine, look the same (where the code for the LP Mod is concerned)
i thank you guys/girls for the time taken to help me out! i it appreciated!
i think the only thing we need here is intReplyID... trying the Dayve's method to get inrReplyID.. it also work good !! and it seem look more easily to understand than the @@... but anyway, this @@Identity... also work for me ~ (is this @@Identity a legal SQL statement ???)
quote: LastPost(rsForum("FORUM_ID")) 'call lastpost function
yes~ it also like this in my default.asp page
and i check my LastPost modified files again. it seem no other problem by now...
in inc_functions.asp LastTopicID = rsLast_Post("TOPIC_ID") LastSubject = ChkString(rsLast_Post("T_SUBJECT"),"title") '<-- i think this line added by myself.. it need add T_SUBJECT query above Last_Post[/blue] = rsLast_Post("T_LAST_POSTER") '<-- i don't know why i change LastPost to Last_Post... mxpages = (rsLast_Post("T_REPLIES") / strPageSize) if mxpages <> cint(mxpages) then mxpages = int(mxpages) + 1 end if Response.Write " <a href=""topic.asp?TOPIC_ID=" & LastTopicID if mxpages > 1 then Response.Write "&whichpage=" & mxpages end if if Last_Post <> "0" then Response.Write "#" & Last_Post Response.Write " "" title='Topic Subject: " & LastSubject & "' [/blue]><img src=""" & strImageURL & "lastpost.gif"" border=0 align='absmiddle'></a>"
and it's all, hope you got this great MOD successful !!