目录

quote

优质
小牛编辑
134浏览
2023-12-01

quote

字符串转义

quote($string)
  • $string [string]

    字符串.

Return: [string]Quote() 对字符串进行转义
$data = "Medoo";echo "We love " . $data; // We love Medooecho "We love " . $database->quote($data); // We love 'Medoo'