In this tutorial you will learn how to create a table in phpMyAdmin and create an RSS feed that goes along with it!
Requirements: Know basics of
PHP,
phpMyAdmin, notepad, mouse and keyboard.
Now let’s start with our SQL Table.
1
2
3
4
5
6
7
| CREATE TABLE `news` (
`id` tinyint(11) NOT NULL auto_increment,
`title` text NOT NULL,
`author` text NOT NULL,
`content` text NOT NULL,
PRIMARY KEY (`id`)
); |
That simply created a table called news. The table news contains 4 rows. Each row stands for something different. So in this case, we have 4 rows.

Click to enlarge
Now lets fill the table with some random text so we can see how this RSS works.
1
2
3
| INSERT INTO `news` VALUES (1, ‘test1', 'BigDog', ' This is Test 1');
INSERT INTO `news` VALUES (2, ‘test2', 'BigDog', ' This is Test 2');
INSERT INTO `news` VALUES (3, ‘test3', 'BigDog', ' This is Test 3'); |
If you don’t understand what I did above, I just simply used INSERT TO and inserted values into each row.