Hi All,

  I have a function that includes files based on some SQL queries. On one of
the first loaded files, I want to define a function and use it on another
included file. Something like:

includes file:
This file has: $test = "Show me!";

Then include file:
This file has: echo $test;

  But doesn't show nothing, so I guess it is not possible to do. Am I right?
If so, what's the best alternative?

  Also, another question.... since it is a function that includes the files,
the contents of these files are not available outside the function scope..
what's the best way to use it outside the function?

  Thanks a lot....


  Julio Nobrega.

A hora está chegando:

PHP General 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