Re: [PHP-WIN] Move to first record mssql

2005-01-20 Thread Robert Twitty
mssql_data_seek() works for me. Maybe you should post the code prior to what you have provided. -- bob On Thu, 20 Jan 2005, Louis Young wrote: > Hi there > > I'm looping through an mssql dataset, using > while($row=mssql_fetch_array($rsElecTrans)), but now I would like to > loop through the same

[PHP-WIN] Move to first record mssql

2005-01-19 Thread Louis Young
Hi there I'm looping through an mssql dataset, using while($row=mssql_fetch_array($rsElecTrans)), but now I would like to loop through the same dataset again later on, but inn order to do this I need to move to the first record, so I tried: mssql_data_seek($rsElecTrans, 0); while($row=mssql_fe