Working Sql submit button