Quote Originally Posted by Pino
I think when it includes a file all it does is takes the code and puts it all together so it kind of builds one script from 3 (in yor case) as to where to put the database opening, I would say put it before the first include then its avalible through the rest of the script.

Hope that helps

OK, so it first copy/asembly the files togheter then running the PHP? Or the other way around? SHould be the other way around if it should be able to import it at all. It is imported using PHP. Unless it first runs PHP to check for inclused. THen copy stuff togheter, and then start from the top again to run the PHP.

Hehehe...Think I even confused my self now..


ØØ