Thread: "number" posted
View Single Post
  #9  
Old 01-05-2005, 11:40 AM
XinG
Unregistered

Posts: n/a

ok, sorry for this.. (3rd post lol) BUT it still says 0... even if theres 2+ .. =/ this the code i got
[code:1:23a25c4ec1]$query=mysql_query("SELECT id FROM comments WHERE nid='$id'");
$totcomms=mysql_num_rows($query);[/code:1:23a25c4ec1]

nid = news id
id = comment id[/code]
Reply With Quote