ok i would like to display the amount of comments each artical has next to the text, how do i go about doing this.
Its a SQL database and PHP.
In the database there are 4 feilds id, story_id, name, comment
so i would have a story, and it has comments so i would like it to display "Comments (3)" but i dont know how to set it up to only display the amount of comments for the artical or story only.
Its a SQL database and PHP.
In the database there are 4 feilds id, story_id, name, comment
so i would have a story, and it has comments so i would like it to display "Comments (3)" but i dont know how to set it up to only display the amount of comments for the artical or story only.