if you include() some php in another script, then variables which exist in 
the file including the other will be inherited exactly the same as if you 
had copy-pasted the code, rather than "including" it

At 03:22 PM 3/22/01 +0800, Shahmat Dahlan wrote:
>If I were to break my codes into pieces and put them into seperate files
>and call them from a single "depository" php script, how do I pass
>variables from one file to another?
>Thanks in advance.
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Beau Lebens - Web Master
Insurance My Way, Your Friendly Online Broker
(08) 9226 5888

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to