Jump to content

Recommended Posts

Yep, I dynamically generate all my pages using PHP and MySQL en-coupled with a bit of mod_rewrite to get them to appear to be real .html pages.  This is done quite frequently, allows for dynamic content to appear to be "static" pages and it makes it way easier to manage.

 

For examples, you can look at Wordpress, as they use the same techniques.

yes yes and yes...

 

I'm doing the same thing at the moment and wish I could have used MYSQL. In fact I nearly begged for that, but they for some reason were afraid of MYSQL (WTF right?!?!). Anyways the one I did was dynamic that make everything look like a static page except through directory functions and a directory structure. So instead of updating via a database someone with access to the web-server drops and drags into the folder system on a windows server.    :'(  Although this was fun to do it the other way would have been easier, efficient, & saner with MYSQL to add the pages.

If you are fairly familiar with php and MYSQL... in fact don't need to be that familiar with MYSQL but helps... then it's fairly simple. Just takes time and patients.

 

Setup a dynamic web page:

http://woork.blogspot.com/2007/10/load-page-using-url-variables-and-php.html

<- the comments on this tutorial are better then the tutorial so read them for ideas for that.

 

Setup you database... just google that if you don't know how. 

 

Then instead of passing modules as includes or requires (with regards to that links particular setup and desing) you do as primso said earlier.

 

Includes or require files are just php programs. So instead of container filler for that dynamic page the script would call the database and draw the filler from that passing it along for display to make it look like a static page.

 

That should get you started at least.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.