Now...I'm using this:
Code: Select all
$id = $_GET['id'];
$result = mysql_query("select * from nws_cmt where nid like '$id' order by 'id' DESC");
$num = mysql_num_rows( $result );
echo $num;...Maybe I'm explaining this very poorly, but I don't have the sufficient terminology.
Now I've been reading a lot at php.net, and searching google quite a few times, but I can't seem to find what I'm looking for..I know it's possible to do, since many forum systems have that function (VBulletin, Invision Board etc.) But I cant get to look at their code without actually having to pay for it....
Alright, enough babble...I'll make it simple:
row number, for each comment, what should I do?
Oh did I mention my PHP knowledge is limited? (I Have no idea why the PHP tag is f'ing up...sry)