I have run the code after amending, but it still didnot work,it says that syntax eeror at line8 near "insert itnto insert into mytable (name,sex,birth,birthaddr)" and ( might be a runaway multi-line >> string starting on line4)
,unmatched right curly bracket at line8,at end of line.
So this is all I know now,thank you again.