Re: PHP Include
| From: | Beau Lebens | Date: | Thu, 22 Mar 2001 07:12:37 +0000 |
| Subject: | Re: PHP Include | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7691@lists.php.net to get a copy of this message | ||
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. Shahmat -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- Beau Lebens - Web Master Insurance My Way, Your Friendly Online Broker (08) 9226 5888 http://www.insurancemyway.com.au/