Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] Problems with WHILE From: Flemming Funch (ffunch <email protected>)
Date: 04/19/00

At 12:59 PM 4/19/2000, Frank M. Kromann wrote:
>while (($tempdata = mssql_fetch_row($RS)))
>$data[] = $tempdata;
>*/
>mssql_free_result($RS);

Doing the free_result would get rid of the results of your select, so it
wouldn't be there for the next fetch_row. Put it after the end of the while
loop, instead.

- Flemming

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>