I have several elements in a table with the same id number. If I try
It looks like it only grabs one with that id number and no others. What do I need to do?PHP Code:$result = mysql_query("SELECT * FROM comments WHERE post_id = '$post_id'");
if(!$result) {
die('Invalid query: ' . mysql_error());}
$row = mysql_fetch_assoc($result);




Reply With Quote