> as cold fusion (custom tags), can i made some component to reuse in all my
> script ?


> is a function visible every where in PHP ?


> can i developp a script with a name, and call this script by an include
> function and passing parameters ?

You don't need to pass parameters since included files share the same
symbol table as the file they were included from.  You simply define you
variable, then do the include and inside the include file you can access
the variable.


$a = 123;
include 'something.php';

Inside something.php you can then access $a


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