Project: Simple Forum/Discussion System using PHP/MySQL with Source Code
The Simple Forum/Discussion System is a simple PHP/MySQL project that can help a certain school or company to discuss a certain topic that may relate to others within the school or company circle nowadays due to the pandemic. We all know that nowadays there's an inconvenience working and studying because some of the processes or work are forced to be done online,home-based, or whatever word to describe long-distance transactions or processes, which the forum or discussion system may help by organizing a certain topic to be discussed. Yes, we have FB Messenger, Viber, Skype, and other online application that help us to communicate online, conversations can be random and others can't catch up easily while this system main purpose is not only to communicate with others but also to provide a discussion page where may also help another employee for a company or student and teacher for schools for example when a user 1 posted a topic or discussion on the system obviously some other users may comment to a certain topic, since the topic may be a question because the user 1 is having a hard time to solve or any instances may occur which he/she needs help for a co-worker/s that might be experienced already and solve the instance, this worker can simply drop a comment on this topic that may help his/her coworker/fellow student. You might wonder that the scenario can also be done in some application such as chat applications, well, the main purpose of this system is that the system stores all posted topic with the comments and replies, which means that in the future, some users may encounter the scenario, problems or questions that he/she needed an answer, the user can find or retrieve any related discussion that was already done in the past which means he/she might find the answers to his/her question without posting a new discussion and wait to other users to drop their ideas to your posted questions. The system was inspired by the StackOverflow website which is commonly used by developers, programmers, or any IT related works.
The Simple Forum/Discussion System source code has only a small scope project but features the main purpose for this article or system idea.
Username: admin
Password: admin123
I hope this Simple Forum/Discussion System project will help you with what you are looking for. Feel free to download and enhance or modify the source code.
Explore more on this website for more source codes and tutorials.
Enjoy!
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Yes, it is possible but there's a modification on the source code that needs to be done that connects/queries with the users' table. To do that, make sure to backup the unmodified source code first then identify the pages/files that use the user table. Then, modify the queries. I hope this will help you.
$tags = $conn->query("SELECT * FROM categories order by username asc"); while($row=$tags->fetch_assoc()):
Hi. Check your database if the `categories` table exists and so the `username` column in the table. You can also check the SQL query in your PHPMyAdmin in the SQL Tab of the database to get more detailed information for the mistake in the query.
Hi, you're welcome. It might be the '$_GET['id']', maybe it is null or not an integer type. Try to echo/ print the SQL query to see if the query is right.