Ok on my site [url]http://complexfellow.com[/url] I offer the ability to comment on blog entries. All the entries are stored in a comments table and with each comment a replyto field is filled in so it knows what entry it correpsonds with. How would I count how many comments there are for each entry.
@JonaMay 11.2004 — #[font=arial]The MySQL documentation is a powerful resource, you should use it -- it has a search option.
[url=http://dev.mysql.com/doc/mysql/en/mysql_field_count.html]MySQL Field count[/url] and [url=http://dev.mysql.com/doc/mysql/en/mysql_list_fields.html]MySQL list fields[/url] should be useful.[/font]
@JonaMay 12.2004 — #[font=arial]lol. When it doesn't exist, always try the next thing. Don't worry, it happens to me all the time (how else would I have a solution?).[/font]