$val1 = 1; $val2 = "'"; $db->Sql("INSERT INTO Comment ( Field1, Field2 )VALUES ('$val1', '$val2') ");