You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#6665 use PDO prepared statement - avoid straw man (dr-matt-smith)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closessymfony#6665).
Discussion
----------
use PDO prepared statement - avoid straw man
I suggest demonstrating decent PDO code, through the use of a prepared statement
rather than setting up a 'straw man' of concatenating _GET['id'] for form an SQL string
there are very strong arguments for using Doctrine and Symfony etc. - no need to write bad PDO code to artificially strengthen the MVC argument
.. matt ..
Commits
-------
7087a25 use PDO prepared statement - avoid straw man
0 commit comments