I have a function eval_code. In the function I have
eval($eval_str);
in $eval_str I have:
$title[] = $row['title'];
I want the array $title to be availiable to a required file later on in the page.
i.e.
eval_code($php_doc)
require('foo');
where foo uses the array $title. If you followed that, can you tell me how to do such a thing?
Thanks, Celia
eval($eval_str);
in $eval_str I have:
$title[] = $row['title'];
I want the array $title to be availiable to a required file later on in the page.
i.e.
eval_code($php_doc)
require('foo');
where foo uses the array $title. If you followed that, can you tell me how to do such a thing?
Thanks, Celia