View Single Post
Old 08-20-2009, 02:13 PM   #6 (permalink)
jasonberresford
The Wanderer
 
Join Date: Aug 2009
Posts: 11
Thanks: 1
jasonberresford is on a distinguished road
Default

Yep your missing one thing:

$id = $_GET['id'];
$queryget = mysql_query("SELECT * FROM comments");

CHANGE TO:

$id = $_GET['id'];
$queryget = mysql_query("SELECT * FROM comments WHERE id = '$id'");

That will make sure it only selects that comments ...

Not every comment which loops through and just outputs the last on all pages.
jasonberresford is offline  
Reply With Quote
The Following User Says Thank You to jasonberresford For This Useful Post:
tearsofthesun (08-20-2009)