Re: [PHP-WIN] MS SQL Query question

2004-05-26 Thread Jordi Canals
Dr. Robert Probst wrote: IN MY (not MS) SQL I would try 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 ms area. maybe it helps For MS-SQL, you mean mssql_data_seek($result, 0) ;) http://es2.php.

RE: [PHP-WIN] MS SQL Query question

2004-05-25 Thread Ron.Herhuth
can re-iterate through the >$line array, again! >**************** > >-TG > > >> -Original Message- >> From: Derrick Hermanson [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, May 25, 2004 3:05 PM >> To: [EMAIL PROTECTED]; [EMAIL PROTECTED

RE: [PHP-WIN] MS SQL Query question

2004-05-25 Thread Gryffyn, Trevor
call This function resets the pointer and you can re-iterate through the $line array, again! -TG > -Original Message- > From: Derrick Hermanson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 25, 2004 3:05 PM > To: [EMAIL PROTECTED]; [EMA

RE: [PHP-WIN] MS SQL Query question

2004-05-25 Thread Derrick Hermanson
try something like this $result = mssql_query ($query); if ($result) { while ($template_args = msssql_fetch_array ($res)) { //what ever you want to do with the data } } Derrick Hermanson Programmer/Analyst I Acton International LTD. 402.470.5816 mailto:[EMAIL PROTE