forum
forum >> Programming questions >> PHP / MySQL | |
Love your book! Also a question |
|
Posted Mar 04 2013 at 5:08 AM by cronhound (cronhound) |
Your book "PHP5/MySQL for the absolute beginner" was what taught me everything I needed to know about php My question: How did you create multi-category forums? I've tried(and failed) to do this numerous times in the past, and every tutorial serms to only show how to make a single category forum. I run a text based MMORPG, that needs a forum, I've contemplated using a big name "open source" forum software, but I need a "single sign on" forum. Cheers, Jayme "cronhound" Brereton |
Author | Message | |
cronhound |
Posted: Mar 04 2013 kl. 7:35 PM Nevermind, just realized your using websitebaker |
|
Andy |
Posted: Mar 16 2013 kl. 10:02 AM Thanks for the kind words on the book. Note the PHP5 version is an older edition. I've since done a PHP6 version (that also works on the later versions of PHP5) All the examples are here on my main site: http://www.aharrisbooks.net/ph3ed/ As for the forum question, I usually use a pre-built forum when I can, because it's a problem other people have solved. However, if I were to do it by hand, I'd use a database. Store the topic as a separate table. All of the postings go in a single table, but with a different topic. You then print a topic by only returning the contents of the table with the matching topic. |