Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PDO not using input filtering in example
Somehow, this pull request (codeguy#26) went missing in the move to `gh-pages`. But it's fairly critical, since the example has `$_GET` being passed straight into a `PDO` statement. On a write (`INSERT` or `UPDATE`), this can still result in dangerous data (to the app, not to SQL) being written accidentally by a new PHP developer. Data should always be filtered prior to use.
- Loading branch information