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.
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
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
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