You are here: Re: about structure. « All PHP « IT news, forums, messages
Re: about structure.

Posted by Josh on 12/20/06 17:25

Personally, if you don't want to use a database, I would just create a
list of the locations in one of the includes on each page, then loop
through the list in each of the 15 pages substituting the location
names in each switch statement. That way you can keep different switch
statements in each page, but still have one place to update locations.

On Dec 19, 6:29 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> Message-ID: <1166564901.959568.283450@f1g2000cwa.googlegroups.com> from
> Kentor contained the following:
>
> >Hrmmm... hehe this is also a good idea and I guess this would be easier
> >for me to use at the moment... but in the long run, it would prolly
> >still be better to use a database...Like I said, if the data does not change, or only changes very
> infrequently, I see little point.
>
> --
> Geoff Berrow 0110001001101100010000000110
> 001101101011011001000110111101100111001011
> 100110001101101111001011100111010101101011

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация