Re: [PHP-DB] Re-using a result set

2001-01-14 Thread Markus Fischer
Hi, Is there some similar function available for oracle too ? thanks, Markus On Thu, Jan 11, 2001 at 03:18:25PM -0500, Finkel, Sean wrote : > Try calling: > > mysql_data_seek($connection, 0); > > then looping through again. This should reset the row pointer to the first > row

RE: [PHP-DB] Re-using a result set

2001-01-11 Thread Finkel, Sean
PROTECTED] Subject: [PHP-DB] Re-using a result set Hello, everyone -- I'm new to the list, and to PHP. I own a very large, very active original humor website which currently consists of over 2000 HTML documents, and I'm converting it to a database-driven model which should reduce that amou

Re: [PHP-DB] Re-using a result set

2001-01-11 Thread joe
Sure, just do: mysql_data_seek($sql_result,0); before you get to your while() the second time. Hope this helps, Joe TopFive wrote: > Hello, everyone -- I'm new to the list, and to PHP. > > I own a very large, very active original humor website which > currently consists of over 2000 HTML do

[PHP-DB] Re-using a result set

2001-01-11 Thread TopFive
Hello, everyone -- I'm new to the list, and to PHP. I own a very large, very active original humor website which currently consists of over 2000 HTML documents, and I'm converting it to a database-driven model which should reduce that amount to less than 100. I'm from an old school dBase/C