Hello!
I'm sorry if i'm one of thousands asking this question but i tried to find the answer, but no luck...
I have a problem with include() function. I'm new to PHP and maybe (probably) it's my fault, but anyway.
I have a config file (somewhere) and at the beginning of each file i put <? include('config.inc') ?>. In this file also $DB_USER,$DB_NAME,... variables are written and when I want to use these values inside a function, I have to include it again.
Why?
Do you have to specify variable in config file different? (like... global or something?) or is this just the way PHP works?
Thank all the good people, helping beginners like me.
Roger&out