In article <010101c1291b$378fa0a0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Chris Schneck) wrote:
> function print_keywords()
> {
> echo ($mykewords);
> }
$mykeywords is a global var; it's undefined in the function's local scope.
Either pass it into the function as a parameter, add it to the $GLOBALS
array, or declare it as global within the function.
<http://php.net/global>
--
CC
--
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]