Re: [PHP4BETA] Problems with WHILE
| From: | Flemming Funch | Date: | Wed, 19 Apr 2000 20:49:28 +0000 |
| Subject: | Re: [PHP4BETA] Problems with WHILE | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13765@lists.php.net to get a copy of this message | ||
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