Re: [PHP] issues with calling methods twice in a row

2008-02-08 Thread Jochem Maas
nihilism machine schreef: 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

Re: [PHP] issues with calling methods twice in a row

2008-02-08 Thread Nathan Nobbe
On Feb 8, 2008 4:25 PM, nihilism machine <[EMAIL PROTECTED]> wrote: > that was just an example. yes they both provide 5 input variables. well theres something preventing successive calls from doing what you expect. php has no issue in calling the same instance method successively, which you cou

Re: [PHP] issues with calling methods twice in a row

2008-02-08 Thread nihilism machine
that was just an example. yes they both provide 5 input variables. On Feb 8, 2008, at 4:18 PM, Jim Lucas wrote: nihilism machine 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 ot

Re: [PHP] issues with calling methods twice in a row

2008-02-08 Thread Nathan Nobbe
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 = n

Re: [PHP] issues with calling methods twice in a row

2008-02-08 Thread Jim Lucas
nihilism machine 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. Here you say that the method takes five (5) variables. ex: $aut

[PHP] issues with calling methods twice in a row

2008-02-08 Thread nihilism machine
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->Create