A simple web application using PHP and mysql.
Source code is downloaded from site: EASY BLOG SITE IN PHP WITH SOURCE CODE.
- Setup a mysql database (recommend to use docker)
- Execute sql to import db:
mysql -u root --protocol=tcp -padminpass < blog.sql
- Setup php environment and mysqli tool
- comments(postID, commentID, commentDesc, commentAuthor, commentTime)
- messages(id, name, email, message, time)
- posts (postID, postTitle, postDesc, postTime, postTag, postAuthor)
- posts_buffer (postID, postTitle, postDesc, postTime, postTag, postAuthor)
- users (id, username, firstname, password, emailid, createdon, usertype)
- users_buffer (id, username, firstname, password, emailid, createdon, usertype)
- user_post (postAuthor, postID, postLikes, postDisLikes, postComments, postViews