> Just reference it as $_POST[$element]? Almost :). $_POST[element] would do the trick, thanks for this hint. But that would mean to change all occurrences of all $variables in the file. So the variables keep their names and I have just three lines additional code. André