realEscapeString

same as mysqli::real_escape_string but does not need a db connection and allow array escape

Arguments
Name Type Description Required
input string | array Your text(s) to be escaped yes

Output : string | array

Static or normal : Static

Examples :

tools::realEscapeString(input: $text1);
tools::realEscapeString([$text1,$text2,$text3]);