Re: [PHP] Unbuffered Query

2007-01-15 Thread Németh Zoltán
I think mysql_data_seek throws this warning also if there is no data in the result object at all, so I would check the result before positioning greets Zoltán Németh 2007. 01. 12, péntek keltezéssel 23.30-kor Richard Lynch ezt írta: > I have this process that dumps out database records to static

Re: [PHP] Unbuffered Query

2007-01-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-12 23:30:15 -0600: > Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index > 116 (or the > query data is unbuffered) in > /www/acousticdemo.com/web/complaints/publish.cron on > line 26 http://www.php.net/manual/en/function.mysql-unbuffered-query.php:

Re: [PHP] Unbuffered Query

2007-01-12 Thread Jim Lucas
Richard Lynch wrote: I have this process that dumps out database records to static HTML pages. The basic algorithm goes like: //Set any un-parented item (a root in the thread) to be its own parent: update entry set original_id = entry_id where original_id is null in the following you are looki

[PHP] Unbuffered Query

2007-01-12 Thread Richard Lynch
I have this process that dumps out database records to static HTML pages. The basic algorithm goes like: //Set any un-parented item (a root in the thread) to be its own parent: update entry set original_id = entry_id where original_id is null //collect any "dirty" entries (changed in db, need to