tags:

views:

82

answers:

2

Hello, at my work we have a system my boss developed where we have one page (index.php), and the different pages are stored within a database instead of different page files.

I was wondering if anyone knew any good tutorials on how to do this? Or if any of you would be able to help me in code it up?

+4  A: 
Garis Suero
+1 this is true. The concept of having code in the database (if that is what is at hand) sounds awfully wrong.
Pekka
A: 

The following tutorial walks you through how to accomplish what you described. However, I would suggest you just skim over it and write something from scratch which uses better coding methods.

http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/content-management-system-cms-using-php-and-mysql.aspx

Tim Cooper
Cheers that seems to be exactly what I want, and I want to develop something from scratch anyway so Thanks :)
Keiron Lowe
As I see it, maybe your boss didn't develop any system, and he is using just a free CMS system... :P just for the record.
Garis Suero