Generate RSS Feed with PHP & MySQL

RSS (Really Simple Syndication) is a very useful way to share content over internet. If you are running a website or blog RSS feeds can help you a lot by sharing your contents to readers. RSS feeds are based on XML markup. It holds some information about your post contents like post title, description, link, publish date etc.

In this post you will learn how we can create simple RSS feed with PHP and MySQL.

Creating MySQL Database Table

At first we need to create a database table that can hold our post contents.