Follow me on Twitter @ http://twitter.com/tktutorials Check out my website @ http://www.timkipptutorials.com This is part six of this tutorial series. In part six we will …
Original source
Follow me on Twitter @ http://twitter.com/tktutorials Check out my website @ http://www.timkipptutorials.com This is part six of this tutorial series. In part six we will …
Original source
17 responses to “PHP Series – Building A PHP MySQL Forum Tutorial Series Part 6 – Email Integration”
This was really a nice tutorial… Very helpful and good explanations… Thank you sir…
Great tutorial. Thanks for this.
To get the reply count working, add this to your 'view_category.php' page:
function reply_count($cid, $tid) {
$sql = "SELECT COUNT(*) FROM `posts` WHERE `category_id` = $cid AND `topic_id` = $tid";
$res = mysql_result(mysql_query($sql), 0) – 1;
return $res;
}
Then, replace the 0 that Timm Kipp told you to place in your table with this: '.reply_count($id,$tid).'
Now you should see the reply count on your page 🙂
thanks a lot sir….your tutorial series was really helpfull
Can't wait for part 7! ^^
Hi Tim, when will you finish with the rest of this tutorials?
Would be nice to have a register option as well.
Your tutorials are very helpful. Thanks.
how can do topic_replies? no database structure?
Hello TimKipp, many thanks for these tutorials you have made. You have taught me far more than my school teacher've done, You're too awesome. I just donated to your website + I have just ordered your DVD for the rest of the series, I hope you continue to make these tutorials are nice and easy to follow. and you explain very well, I thought, however, on whether there is a chance you can also make a kind of user page where you can add friends, And you can send private messages
How do you make a link to create a new forum on the index.php page?
thanks.great tutorial
@Tobinella1 Thank you!
mnbmb
@handsomethomas Thanks!
awesome
Quick question: On the topic posts page, wouldn't be more functional to have a link or button to return to the main index page?
@ngshane You're welcome Shane. The DVD will be out soon. Pass the word.
thanks Tim