Forum Moderators: coopster

Message Too Old, No Replies

Is It poss to get PHP to build my pages?

php page generation.

         

ski442

5:20 pm on Apr 4, 2007 (gmt 0)

10+ Year Member



Hi All
is it poss to get php to build a page from an existing template i have already made then php would fill the bodycontent with the data, from when a visitor clicks on a link.

All data to go in bodycontent will be called from my db.

It this an easy ish thing to do as i am still a beginner.

My reason for this is my site has about 2000 html files at the moment and i am in the process of putting all the data in to a db then recall it as needed. Thats when i thought about if php could build the page for me and diplay it, so maybe i could cut down on the html files.

All comments very welcome.

phparion

6:10 pm on Apr 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



yeah, php can do it....

study how to work with query strings in php?

study how to select, update, delete data from mysql.

and finally learn, not necessary for your task but recommended strongly, mod-rewrite to create SEO friendly URLs from dynamic URLs i.e query strings

ski442

6:18 pm on Apr 4, 2007 (gmt 0)

10+ Year Member



That's great.
Thanks for your advice.
which is very needed.