New answers tagged


Because you are declaring $playid and $players inside your loop, each subsequently iterated row will overwrite the previously stored values. You will notice that only the data from the last row of your result set will be assigned to $this->_item->players. Also, $result->lname will cause problems when there are no rows in the result set. I don't know ...

Top 50 recent answers are included