$sql = "UPDATE main_test1 SET name = 1234 WHERE id = 2;";
$test = $_POST["test"];
$sql = "UPDATE main_test1 SET name = $test WHERE id = 2;";
$test = $_POST["test"];
$sql = "UPDATE main_test1 SET name = $test WHERE id = 2;";
$test = $_POST["test"];
$sql = "UPDATE `main_test1` SET `name` = '$test' WHERE id = 2;";