Odds are really good that you are trying to add (+) something that ain't a number... Just print_r() each variable within that function and see what you did. On Sun, April 16, 2006 5:35 am, kmh496 wrote: > > can somebody explain why > > $this->param = $this->SYSTEM->db->answer + $this->param; > > is causing the error > > > Fatal error: Unsupported operand types > in /var/www/current/mjguest/modules/settings.php on line 52 > > > > context is > > > function settings(&$SYSTEM) > { > $this->SYSTEM = &$SYSTEM; > $this->SYSTEM->db->ask(1, 'settings_load'); > $this->SYSTEM->db->get_row(); > > $this->param = $this->SYSTEM->db->answer + $this->param; > } > > > > > -- > my site <a href="http://www.myowndictionary.com">myowndictionary</a> > was > made to help students of many languages learn them faster. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php