3000 explained code solutions for 75 technologies


php-pdoEscape string with PHP PDO


$escaped = $pdo->quote("string");ctrl + c
$escaped =

will contain escaped string

$pdo

PDO connection object

quote

escapes specified string