RE: Save mySQL data into a CSV file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



do a var_dump($result_set) to see what $result_set contains (if it's
actually and array.

(did you implement the code given as is? if not AND you have put line-11
in a function and $result_set as a global variable then you need to
define $result_set as a global inside the function.)



ramil

On Tue, 2003-06-17 at 14:16, Martin E. Koss wrote:
> Error found when testing the code below:
> Warning: Variable passed to each() is not an array or object in
> apache/htdocs/speeddials.php on line 11
> Line 11 is: "while ($record_set_array = each($result_set)) {"
> 
> What did I do wrong?
> 
> Thanks
> Martin
> 
> -----Original Message-----



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux