<?php
$query = mysql_query("SELECT * FROM threads
INNER JOIN users
ON threads.poster = users.id
WHERE threads.forum_id = 11");
while($row = mysql_fetch_array($query)) {
<a href="thread.php?id=<?=$row['id']?>">Link</a>
} ?>
Theres a column named id in both threads and users. It prints the user id. Any way i got get it to print the thread id without re-naming one of them.
Thanks in advance!