On Fri, 31 Oct 2003 11:38:47 +0800, you wrote:

>I've been struggling with this for some time now and can't for the life of
>me figure out why the output is "GeorgeGeorge" and not "GeorgeBush"

>  $this->$staff_name="George";

Try this instead

>  $this->staff_name="George";

(superfluous $). Same goes for the other 3 instances. Sometimes it just
takes a fresh pair of eyes.

If you had your error reporting level set to E_ALL, you would have got a
(somewhat cryptic) notice.

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

Reply via email to