I am very new to class, trying out this class, but it doesn't seem to display anything?
what i am donig wrong? <?php class site_init { var $midgard; // array function site_init() { echo $this->midgard["host"]; } ?> i called this class by $new_midgard = site_init; it does not seem to print anything.. why? anyone any idea? awlad