2006-04-16 (일), 21:02 +1000, chris smith 쓰시길: > On 4/16/06, kmh496 <kmh496@xxxxxxxxxx> wrote: > > 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길: > > > 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 > Sounds like you have a bad query and instead of answer being a row, > it's something else. > > Print out everything before you use it: > > instead of: > $this->param = $this->SYSTEM->db->answer + $this->param; > > $answer = $this->SYSTEM->db->answer; > $param = $this->param; > > echo "Answer: " . $answer . "<br/>"; > > If that's not an array, that's your problem and you'll have to debug > why it's not an array. > > -- list and especially dmajick @ gmail, thanks for your help. i will have to debug later, i am sorry, i have to run right now. frankly speaking, i am simply having a bad day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php