Question
Create a small web application that functions as a user's personal blog using HTML, PHP, CSS, and MySQL. The blog should have at least 2
Create a small web application that functions as a user's personal blog using HTML, PHP, CSS, and MySQL.
The blog should have at least 2 pages.
1. First page is the "create post" page which allows the user to create a blog entry. In the page it should display a text box where the user enters a title for their blog entry, a text box where the user enters text for a post, a text box where they can specify a tag for the blog entry, and submit and reset buttons. The action attribute should point to the php program.
2. When the user enters the blog entry, the data should be saved in a database table by the PHP program. A database table needs to be created first to hold data from the form html. Also when creating the database table think about how to give unique primary keys to new entries that will be added to the database table from the HTML (Refer to auto increment option in MySQL).
3. The "blog view" page that is displayed to the user after they submit a blog post should also display all blog entries that the user has previously entered. These entries are retrieved from the database. Also include link that takes the user back to the create post page so the user can enter another blog post. This page should be like a regular html page.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started