Problem on my machine with TABLE class

From: Date: Thu, 02 Sep 1999 16:35:11 +0000
Subject: Problem on my machine with TABLE class
Groups: php.dev 
Request: Send a blank email to php-dev+get-10455@lists.php.net to get a copy of this message
I am experimenting with PHPLIB and I have come across a weidness which I thought maybe you could help me resolve. When I use table->show_result, when it is drawing the HEADER of the table, it reports two warnings, one for reset() and one each(): Variable passed to reset() is not an array or object in table.inc on line 186 (and for each() on 187). I have done some poking, and what seems to be happening is that when $data is returned from $this->select_colnames($data) it is no longer an array -- I checked INSIDE sel_colnames and $d, before it gets returned IS an array but the piece that is returned is no longer an array?!?! I am using PHP 3.0.12. It did this same thing in 3.0.11 (Note: the AUTH stuff didn't work in 3.0.11, apache would seg fault when one did an auth-lookup). Is there a PHP compile that so one can correctly return arrays from functions? :) Any ideas? Kevin

« previous php.dev (#10455) next »