Quote:
Originally Posted by siddal
Thank you for your quick reply, Logician.
Code:
<tr align="center">
<td class="$alternate" align="left" WIDTH="25%" VALIGN="TOP"><div class="normalfont"><a href='forumdisplay.php?$session[sessionurl]t=$WQfield[forumid]'>$WQfield[ftitle]</a></div></td>
<td class="$alternate" align="left" WIDTH="50%" VALIGN="TOP"><div class="normalfont"><a href='showthread.php?$session[sessionurl]t=$WQfield[threadid]'>$WQfield[title]</a></div></td>
<td class="$alternate" WIDTH="10%" VALIGN="TOP"><div class="normalfont"><a href='member.php?$session[sessionurl]u=$WQfield[postuserid]'>$WQfield[postusername]</a></div></td>
<td class="$alternate" WIDTH="15%" VALIGN="TOP"><div style="font-size: 8pt; line-height: 10px;">$WQfield[dateline]</div></td>
</tr>
This is my query result row showing the $WQfield[forumid] but still I?m being directed to the same forum whichever forum I click on..
Interestingly, when I click a forum from the forum/index.php page I get this:
http://mysite/forum/forumdisplay.php?f=6
but when I click the same forum from the query page I get this:
http://mysite/forum/forumdisplay.php?t=6
Only the tiniest difference but enough to fool me, I?m afraid. 
|
Actually you already found why: forumdisplay.php should take f parameter, not t parameter, so if you fix this in your query you are good to go:
HTML Code:
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>$WQfield[ftitle]</a>