Well,

you could make it work by passing $value2 through $value4 as function arguments to CreatUser()

right ?

J.
_________________________