I understand how the pages are designed etc. What I wanted to understand better was how the pages were being displayed using PHP. I guess it is obvious now after getting a few responses, that the HTML is stored in a table, perhaps one record per page... then you just query the story_id and page through the records. Guess it isn't that mysterious after all ;)




On Aug 17, 2004, at 12:18 PM, Matthew Sims wrote:

Hi all,

I want to do something like this:

http://www.cgnetworks.com/story_custom.php?story_id=2259corresponding

Where we can publish an article, multiple page even and lay it out in a
nice design with images etc. How do you think this is done?

Uh...HTML? It is a website, correct?

These stories are dynamically generated it seems since the page is
passed in the URL. I am just not sure where to start...

Thanks, Rogue

PHP has nothing to do with the layout. The story is probably stored in a
database and the story_id var is passed through $_GET to pull up the
cooresponding story.


Learn HTML and CSS and you can make a website look however you want it to
look. PHP simply makes the pages change depending on user events.


--
--Matthew Sims
--<http://killermookie.org>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to