> This may be a daft question but I keep getting notices on undefined indexes
> 
> Is there a way to define them prior to use similar to..
> 
> $global $myvariable;
> 
> Can you show me examples of how to do this with cookies/arrays?

$array = array(  );

and with a class you can use

class Test {
   var $variable1;
   var $variable2;
}

Hope this helps


Tjoek

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to