Search found 3 matches

by Dominic28
Sun Feb 12, 2012 3:21 pm
Forum: Tutorials
Topic: blog-tutorial problem with total_comments
Replies: 5
Views: 808

Re: blog-tutorial problem with total_comments

argh thats hard :D
well tank you :P
by Dominic28
Sun Feb 12, 2012 3:01 pm
Forum: Tutorials
Topic: blog-tutorial problem with total_comments
Replies: 5
Views: 808

Re: blog-tutorial problem with total_comments

Hey, the mysql_error thing doesnt give me another error-message. here is the full code (the part in the <div>): <?php $posts = get_posts(); foreach($posts as $post) { ?> <h2><a href="blog_read.php?pid=<?php echo $post['id']; ?>"><?php echo $post['title']; ?></a></h2> <h4>geschrieben von <?...
by Dominic28
Sun Feb 12, 2012 2:15 pm
Forum: Tutorials
Topic: blog-tutorial problem with total_comments
Replies: 5
Views: 808

blog-tutorial problem with total_comments

Hey, this is my first post here so i want to thank you for your nice tutorials first! They are great. But i got a problem in your Blog-Tutorial. In Blog_List.php i cant see the total_comments. everytime its 0. Here is my code: echo $post['total_comments']; and the get_posts function: function get_po...