Vielleicht liegt das Problem ja ganz wo anders? Poste doch mal den ganzen Code...