Reputation: 339
Do I need to use PDO on queries, without user input, that just outputs one row? I'm thinking that I should use it without PDO for a little performance increase.
Upvotes: 0
Views: 46
Reputation: 582
It would be a good idea to use PDO, even for such queries. I believe the mysql_ functions (part of the API) are in the process of being deprecated, if they have not been deprecated already.
Upvotes: 2