Out of these sql statement which one is the best?
(1) $sql = "INSERT INTO members(id,firstn) VALUES('".$id."','".$fname."')";
(2) $sql = "INSERT INTO members SET id = '".$id."', firstn = '"..$fname."';
(1) $sql = "INSERT INTO members(id,firstn) VALUES('".$id."','".$fname."')";
(2) $sql = "INSERT INTO members SET id = '".$id."', firstn = '"..$fname."';
Comment