Re: mysql rereading result set (fetch_assoc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

> Hi, I would ask which way is more efficient and save time? Save each row to
> array or mysql_data_seek(0) ? 


  That totally depends on which resources are more valuable to you.
  The array will likely use more memory but be faster to process. 
  While mysql_data_seek(0) would probably use no additional memory but
be slower. It also might require you to duplicate code.

Niel

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux