Re: [PHP] Newbie frustration!

2001-01-24 Thread Christian Reiniger
On Tuesday 23 January 2001 22:03, Gerry wrote: All I need is to be able to learn how to load everything from a script and how to call the script with a URL to the directory. eg. ? if (Yarns/) { include "header,nav, fetch content,footer"; else "?"; } ? a href="http://mysite.com/Yarns/"

Re: [PHP] Newbie frustration!

2001-01-23 Thread mick
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

Re: [PHP] Newbie frustration!

2001-01-23 Thread Gerry
Hi Mick: You wrote: Can't the index.php script pull content from any number of different directories?, eg: index.php?page=Yarns/stuff index.php?page=Rovings/stuff index.php/page=dir3/stuff Well the thing is that there is probably a few ways to do this and I thought of the way you just