N
N
n-name2016-11-23 15:37:00
PHP
n-name, 2016-11-23 15:37:00

Does using PHP PDO prevent SQL injection?

Good time.
Using PHP PDO (with MySQL) - how effective is it in terms of protection against SQL injection? What is the correct way to use PHP PDO for this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Esin, 2016-11-23
@xotey83

PDO by itself --- no. Protect prepared expressions.

P
PxlFxr, 2016-11-23
@PxlFxr

Does PDO protect against SQL injection?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question