$sql = "update tt_templates set name = ".$mdb2->quote($name).
", description = ".$mdb2->quote($description).
", content = ".$mdb2->quote($content).
$sql = "update tt_templates set name = ".$mdb2->quote($name).
", description = ".$mdb2->quote($description).
", content = ".$mdb2->quote($content).