MySQLi - Should every statement be prepared?

Posted by Kerry on Stack Overflow See other posts from Stack Overflow or by Kerry
Published on 2010-06-02T20:17:40Z Indexed on 2010/06/02 20:24 UTC
Read the original article Hit count: 115

Filed under:
|
|
|

I know its supposed to improve performance and clean strings, but lets say there are no variables?

Might just be a

SELECT COUNT( `column` ) AS count FROM `table`
  1. Should that be prepared?
  2. Is there any case that a SELECT statement should not be prepared?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql