/** * Format the Query * */ private function getQuery($sql) { $sql = is_array($sql) ? json_encode($sql) : $sql; $sql = '<strong style="color:green;">' . htmlspecialchars($sql) . '</strong>'; $conn = '<strong style="color:red;">' . PDO4You::getConnection() . '</strong>'; return '"' . $sql . '", "' . $conn . '"'; }