php4-beta | 200004
Date: 04/19/00
- Next message: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Previous message: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- In reply to: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Next in thread: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Previous message: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- In reply to: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Next in thread: Frank M. Kromann: "[PHP4BETA] Problems with WHILE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

