Problem with UserInfo:add

Permalink
Hi,

I am facing some problems with adding users through script.

$uo = UserInfo::add($data);

when I printed $data, its showing the correct input according to my code.

print_r($data) gives Array ( [uName] => jkjkjkjk@jkj.com [uPassword] => jkjkjk [uEmail] => jkjkjkjk@jkj.com )

So I think I'm getting correct input on my php file.

But when the above mentioned line, which is

$uo = UserInfo::add($data);

It gives duplicate entry in Users table for key uName.

Please help.

 
ravidhingra89 replied on at Permalink Reply
Solved
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Would you like to enlighten us, it may help other concrete users in a similar situation...