D
D
Dmitry Arushanov2017-09-01 15:24:23
PHP
Dmitry Arushanov, 2017-09-01 15:24:23

How to solve problem with Call to undefined function pg_escape_string()?

Good day to all!
There is such an error `Call to undefined function pg_escape_string()`
PHP 7.0
postgres 9.6.4
php70-pdo-pgsql Installed and visible through phpinfo
Installed everything through homebrew
In theory, everything should work. Only he doesn't want to. And I don't understand why

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-09-01
@Sanasol

use pdo and don't brainwash with escapes.
prepare and bind is our everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question