Skip to content

Create the post and get method for an blog plus adding the MySql database to save all creations

Notifications You must be signed in to change notification settings

JackCree/phpblogmechanics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog mechanics

Create the post and get method for an blog plus adding the MySql database to save all articles.

Create the Basic

Into documents with php extension, create the index, create and logic page. With Bootstrap, add a simple format for an archive blog

Create the database

Generate a database of 3 columns with id (auto-increment), title (varchar 255) and content (longtext)

Convert into PHP pages

Connect to the database with mysqli_connect :

$conn = mysqli_connect($server, $username, $password, $database)

Create the methods

Into the logic.php file, create the methods for Post, Get, Update, and Delete methods

Contribution guidelines for this project

Connect to InifnityFree

After creating an account on Infinity, create a database on the MySQL on the server delivered by Inifnity. Get the elements to to connect to the Infinity database. Drag and Drop the folder with the code into the htdocs in the File Manager

About

Create the post and get method for an blog plus adding the MySql database to save all creations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages