IN MY (not MS) SQL I would tryFor MS-SQL, you mean mssql_data_seek($result, 0) ;)
mysql_data_seek ($result, 0);
to move the internal pointer to the first data row I dont know at the moment if there is a similar function in the msxxxx area.
maybe it helps
http://es2.php.net/manual/en/function.mssql-data-seek.php
Regards, Jordi.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php