A
A
alex_rudenkiy2017-10-01 17:27:37
PHP
alex_rudenkiy, 2017-10-01 17:27:37

How to escape all special characters?

Please tell me how to escape all signs (+,=,-,/,^%,$,#,<,>, etc.), that is, add "//" in front of the character in php? I need this so that I can find a row in the database like "x^2=63*((2+5-8)/53)" using RLIKE

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