PHP freak wrote:

Looking at this page:

Also the new book "ADVANCED PHP PROGRAMMING" uses the new MySQLi Prepared Statements for all queries.

Wondering if that extra code, trouble, and lack of flexibility is worth it? Will it be a HUGE performance increase that will be worth those added lines of code for every single query?

I don't know if the queries are compiled when you prepare them or not, but if they are, that could be a large performance increase.

Also, I believe the point to prepared statements is for security. The parameters you "bind" to the query will be escaped and validated (?) to be the correct type.

Can anyone back this up?

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals –

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to