On Monday 03 February 2003 20:45, Chris Boget wrote:
>         function setData( $age, $name )
>         {
>           $age = $age;
>           $name = $name;
>         }

Is useless ;-) I think you wanted this:

         function setData( $age, $name )
         {
           $this->age = $age;
           $this->name = $name;
         }


johannes

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

Reply via email to