Re: [PHP] ... another dumb question

2002-03-05 Thread Erik Price
On Tuesday, March 5, 2002, at 08:08 AM, Jason Wong wrote: >> Is placing the include at the top absolutely required, good programming >> convention or just preferred? > > Simply put, you can place them wherever you want. Obviously if your > include > file defines certain variables then common s

Re: [PHP] ... another dumb question

2002-03-05 Thread Team GotFusion
Yep, ordered the manuals from Amazon.com... and they inadvertently shipped the books to my mom-in-law ha ha. except that she's retired and computers are still a mystery. So, I am muddling through with my PHP dev. dictionary until I get to see my relatives this weekend. (cheesy smiley) Tami

RE: [PHP] ... another dumb question

2002-03-05 Thread Cal Evans
Yes, this is acceptable. Normally, include and require go at the top of the page out of convention. However, there is no requirement that they be there. Just be careful. it's an accepted convention because it's a good idea. Make sure you know what you are doing when you break with the traditio

Re: [PHP] ... another dumb question

2002-03-05 Thread Jason Wong
On Tuesday 05 March 2002 20:58, Team GotFusion wrote: > I have people telling me that I MUST put the file before or > inside the header of the .php file I am writing before a script is pulled > into my file. I usually just put the whereever I need it on the > page. Actually have it embedded in a