"Awlad Hussain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I am very new to class, trying out this class, but it doesn't seem to
display anything?
>what i am donig wrong?

how about this:?

class site_init {
var $midgard; // array

function site_init()
{
echo 123;
}
}

$new_midgard = new site_init();


rush
--
http://www.templatetamer.com/




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

Reply via email to