Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $comments = array();
- $comments_query = mysql_query("SELECT * FROM comments ORDER BY id ASC");
- while ($row = mysql_fetch_assoc($comments_query)) {
- $comments = new Comment($row);
- }
- foreach ($comments as $comment_item) {
- $comment_item->render_comment();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement