On Feb 8, 2008 4:10 PM, nihilism machine <[EMAIL PROTECTED]> wrote:

> i have a method called CreateUser() which is public and takes 5
> variables as its data, then adds them to a db. it only executes the
> first method not the other although its all the same but the variable.
>
> ex:
>
> $auth = new auth();
> $auth->CreateUser("fake email", 1, "fake name", 4);
> $auth->CreateUser("fake email", 2, "fake name", 4);
> $auth->CreateUser("fake email", 3, "fake name", 4);
> $auth->CreateUser("fake email", 4, "fake name", 4);
> $auth->CreateUser("fake email", 5, "fake name", 4);
>
> any ideas? only the first method gets executed?


whats going on inside CreateUser(), have you tried tracing the logic?
are the successive calls raising any errors?

-nathan

Reply via email to