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

Probably mysql_data_seek(0).

That just resets the mysql pointer back to the start and so it doesn't re-run the query or anything like that and doesn't take up any extra memory.

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to