K
K
KoRNeT46RuS2021-03-29 11:03:50
PHP
KoRNeT46RuS, 2021-03-29 11:03:50

How to set multiple options for escaping in Zend Framework?

When I do this

$update->set([
            'content' => new Expression("REPLACE(content, '?', '?')", [$_query, $_replace]),
]);


error
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

Tried instead of a question mark :query and :replace does not help. Can't find settings

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question