--- rogue <[EMAIL PROTECTED]> wrote:
> I want to do something like this:
> 
> http://www.cgnetworks.com/story_custom.php?story_id=2259
> 
> 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?

Nice designs and images come from good designers.

The "dynamic" part you're talking about is probably something like this:

switch ($_GET['story_id'])
{
   case '2259':
      include '/stories/foo.inc';
      break;

   /* More stories here... */

   default:
      include '/stories/404.inc';
      break;
}

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to