Jump to content

Page template that changes content with page id variations only


violinrocker

Recommended Posts

im a beginner in php scripting and i want to have a page like in forums when you only have one page like forums/index.php but if you go t other posts you will see that it will be forums/index.php?=1 something like that. the page is still the same but the content changed. What i want to have is a video page wherein the flv link needed by the flash player will be fetched through mysql and can be viewed with page id... I also want comments reviews and other stuff to be fetched with mysql... i need this because it is much easier to edit a single page that can show other types of content rather than editing all the html pages one at a time that will takes years... as I said Im a beginner and maybe i wont understand some codes and stuff.. but Ill try to tnx.

Not hard but if your a newbie then I suggest going through tutorials

http://www.tizag.com/phpT/index.php

Have a look at GET & POST to see how data is passed through forms & urls. Get to grips with php's basic functions.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.