Giter Club home page Giter Club logo

kshitizrohilla / blog-using-php-mysql Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 1.64 MB

This simple blog application provides a user-friendly platform for bloggers to publish their posts online. It is built using PHP on the server-side and uses MySQL for storing blog posts. The application allows bloggers to write blog posts, add images and publish them on the blog.

PHP 55.62% HTML 17.73% CSS 21.70% JavaScript 4.96%
mysql blog mysql-database mysql-server php phpmyadmin blog-article blog-platform blogging blogpost blogs phpblog blog-post blog-post-generation blog-post-website-front-end blog-website blogposting blogposts blog-backend blog-creation

blog-using-php-mysql's Introduction

A Simple Blog Using PHP And MySQL

This simple blog application provides a user-friendly platform for bloggers to publish their posts online. It is built using PHP on the server-side and uses MySQL for storing blog posts. The application allows bloggers to write blog posts, add images and publish them on the blog.

This application can be used as a starting point for developers who want to build a blog application using PHP and MySQL.

Setup

  • Start the Apache and MySQL server from the XAMPP control panel.

  • Extract the downloaded git project folder in the htdocs folder(present in the XAMPP folder). Generally during installation the XAMPP is installed in the C: Drive of your computer.

  • A common file structure might looks like this:

C:
|----XAMPP
     |----htdocs
          |----blog-using-php-mysql-main
               |----styles
                    |----style.css
               |----media
               |----images
               |----scripts
                    |----script.js
               |----blog_post_process.php
               |----index.html
               |----index.php
               |----README.md
  • To create client's database go to: http://localhost/phpmyadmin

  • Start by creating a new database from the left sidebar named as 'blog_db' with the default server connection collation settings.

  • After creating the database create a table named as 'blog_table' with 4 columns for id, topic_title, topic_date and topic_para.

  • The first column is 'id' which is an integer. Check the Auto Increment checkbox which will also make this field the primary key.

  • The next column will be for the 'Post Title' and we'll make this a text type field.

  • The next column is for the 'Date of the Created Post' which we'll make a text type field.

  • The next column will be of 'Post Paragraph' which we'll make a text type field.

  • After creating the database table you may test it by visiting this link in your browser: http://localhost/blog-using-php-mysql-main/

  • On the index.php page all the created posts will be displayed. There is also a Write a New Post button on the bottom of the page from where you will be redirected to post creation page index.html.

Features

  • On the home page index.php all the created posts are displayed.

  • Current date and time will be automatically inserted into the post during the time of post creation.

  • Major feature of user account creation and displaying dynamic content for each user is pending.

  • More features like post deletion, editing existing post and more will be addded soon.

Screenshots

blog-using-php-mysql blog-using-php-mysql blog-using-php-mysql

blog-using-php-mysql's People

Contributors

kshitizrohilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yudhono

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.