View Full Version : the same thread over and over??

11-04-2007, 05:24 PM
every time am trying to click on the thread
it directs me to the same thread detail in spite it reads the thread Id in the URL
and i don't know why?
this is the main page which directs me to the thread page

"<tr><td><b><a href='thread.php?threadID=".$record["threadID"]."'>".
echo"<td><b><a href='kill.php?threadID=".$record["threadID"]."'>Delete Thread</a></td>";
echo "</tr>";


and this is the thread page

echo "<p>".($logged_as_mod? "mod: ":"user: ").
$logged_in_user." | <a href='welcomepage.php'>Logout</a></p>";
echo"<hr width='100%' align='center'>";

echo "<table>
<td><b>".($record["userID"]==$logged_userID || $logged_as_mod?"
<a href='post.php?postID=".$record["postID"]."'>Edit Post</a>":"").
stripslashes(nl2br($record["body"]))."</blackquote><hr width='100%' align='center'>";

11-04-2007, 05:34 PM
for example"
this is the page

Topic for debate

user: haan | Logout
Post new Thread
Thread title Last Post on..
Willkommen Mein Thread 2007-11-05 15:53:25
Welcome to Thread 2007-11-04 15:52:45

and when i click on either of them gives me that

Willkommen Mein Thread

user: haan | Logout
Willkommen Mein Thread-- maha 2007-11-05 15:53:25 0 0
helloo welcome to TWO

11-04-2007, 05:35 PM
Post the query you use on the thread page.

11-04-2007, 05:36 PM
nooooo if i click Willkommen Mein Thread first
it keeps redirecting me to this page

and if click Welcome to Thread
it keeps redirecting me to this page

11-04-2007, 05:37 PM
this is the query:

"select thread.title , posts.body , posts.dateposted , posts.postID , users.userID
, users.name , users.totalposts , users.email , users.showemail
from users,posts,thread
where posts.threadID=thread.threadID
and users.userID=posts.userID
and thread.threadID='".$threadID."'
order by posts.dateposted asc limit "

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum