MySQL Forums
Forum List  »  PHP

Re: PDO ITERATION
Posted by: Rick James
Date: March 05, 2011 03:46PM

Suggestion: Always use FetchAll. Then you have the resultset in a PHP structure and can use it once or repeatedly, as needed, and without puzzling over questions like you asked.
http://us.php.net/manual/en/pdostatement.fetchall.php

(Ok, so I don't really know the answer. I have never used PDO; sounds rather kludgy is some areas.)

Options: ReplyQuote


Subject
Written By
Posted
March 01, 2011 04:35PM
Re: PDO ITERATION
March 05, 2011 03:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.