Re: Newbie frustration!
| From: | mick | Date: | Tue, 23 Jan 2001 16:25:36 +0000 |
| Subject: | Re: Newbie frustration! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36206@lists.php.net to get a copy of this message | ||
I'm not sure if I fully understand what you want to do, but I don't see
why you need a seperate index.php for each of your directories. Can't the
index.php script pull content from any number of different directories?,
eg:
index.php?page=dir1/stuff
index.php?page=dir2/stuff
index.php/page=dir3/stuff
Sorry if I've missed the point
Michael
On Tue, 23 Jan 2001, Gerry wrote:
> Hello everyone:
>
> I started playing around with some php scripts a while ago and became
> hooked on it. I have a few books but I'm afraid I'm a learn by example
> kind of person and get stuck at times.
>
> While working on my wife's site I made headers, footers, navigation and
> a little MySQL database for her yarns with a small database
> administration module and so on. The thing is that I would like to have
> the site divided into directories by subject and have the same template
> load every time , but my logic tells me that I have to have an
> index.php3 per directory and have to do this process every time I add a
> subject. I would like to spend my time working on one document and add
> ifs, whiles and elses than doing that.
>
> I have read most of the class.Fast.Template, fast.Template stuff, but
> if there is an example on how to do this I'm missing it. As far as I can
> tell I can only create one document and I can't find how to manage URLS
> to other documents with the same template
>
> I wish I could get help on this!
>
> Rergards:
>
> Gerry Figueroa
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>