Get Started

Where Syntax

Query

Transaction

Advanced

PDO object

Debug

Information

version: 1.1.3

quote

Quotes the string for query

quote($string)
Return: [string]
Quote() places quotes around the input string and escapes special characters within the input string.
$data = "Medoo";

echo "We love " . $data; // We love Medoo

echo "We love " . $database->quote($data); // We love 'Medoo'