Blindchild02
10-12-2005, 03:08 PM
Im coding my own 'last post' box
and this is what i have..
<table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#d8e1e6">
<tr>
<td><font color="#5d6e76" size="1" face="Tahoma"><strong>Last Post:</strong>
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]">$lastpostinfo[lastthread]</a> @ $lastpostinfo[lastposttime]</font></td>
</tr>
</table>
and it works.
but when there isnt a post in that forum, the variables just dont show up.
whats the <if> statement for if there isnt a post.. it just says never?
and this is what i have..
<table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#d8e1e6">
<tr>
<td><font color="#5d6e76" size="1" face="Tahoma"><strong>Last Post:</strong>
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]">$lastpostinfo[lastthread]</a> @ $lastpostinfo[lastposttime]</font></td>
</tr>
</table>
and it works.
but when there isnt a post in that forum, the variables just dont show up.
whats the <if> statement for if there isnt a post.. it just says never?