> $this->data_array = mysql_fetch_array($result, MYSQL_ASSOC); hgttp://php.net/mysql_fetch_array tells you that mysql_fetch_array() return ONE Record as an array. Instead of mysql_fetch_array(*, MYSQL_ASSOC) you can use mysql_fetch_assoc() directly.
$this->data_array=array(); while ($row=mysql_fetch_array($result)) array_push($this->data_array,$row); Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
