Download
Today we will learn how to create a simple discussion forum using PHP and MYSQL. This project is big and can't be covered in single post,so I would divide it into four different posts. Today we will discuss about how we can create skeleton of this project.Next week, we will see how we can use advance features such as jquery,ajax,functions and classes with this project.
File Structure:
We will create five files in root folder and one file db.php (Database configuration file) inside config folder.
index.php : This is home_page or our site from where user can sign in
sign_up.php: Its for new users registration
discuss.php: Post topics
reply.php : Post replies
log_out.php:log out user
Tools: Apache, PHP and Mysql (Download Xampp or WAMP)
What we are trying to do?
When we think about discussion forum, we know that we will need one login system and only registered can post and reply inside the forum.So, we will create three pages just for user login and they are index.php(login form), sign_up.php(for registering new users) and log_out.php(to remove session).
Other two pages will be used for discussion;first for submitting topic and other one will be used for replying.
Today we will learn how to create a simple discussion forum using PHP and MYSQL. This project is big and can't be covered in single post,so I would divide it into four different posts. Today we will discuss about how we can create skeleton of this project.Next week, we will see how we can use advance features such as jquery,ajax,functions and classes with this project.
File Structure:
We will create five files in root folder and one file db.php (Database configuration file) inside config folder.index.php : This is home_page or our site from where user can sign in
sign_up.php: Its for new users registration
discuss.php: Post topics
reply.php : Post replies
log_out.php:log out user
Tools: Apache, PHP and Mysql (Download Xampp or WAMP)
What we are trying to do?
When we think about discussion forum, we know that we will need one login system and only registered can post and reply inside the forum.So, we will create three pages just for user login and they are index.php(login form), sign_up.php(for registering new users) and log_out.php(to remove session).
Other two pages will be used for discussion;first for submitting topic and other one will be used for replying.

