MySQL Forums
Forum List  »  PHP

Re: Prepared statement (php/mysqli) ...does it really make sense ?
Posted by: Zak Greant
Date: November 11, 2005 04:46PM

If you are only running a query once or twice, the only benefit is safety (as prepared statements are resistant to SQL injection attacks).

With prepared statements, you can only retrieve buffered result sets. With unbuffered result sets, the connection is tied up until you have completed retrieving result sets, which can be rough when there are many connections.

Options: ReplyQuote


Subject
Written By
Posted
Re: Prepared statement (php/mysqli) ...does it really make sense ?
November 11, 2005 04: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.