Quote:
|
Originally Posted by zenith
One reason I can see is that your class name and function name is same i.e register.. try to change the function name and then work over it,
and btw if you are using register function as constructor then you are doing wrong, in php you define constructor as __contruct()
OR first create the object and then call the register function like
PHP Code:
$reg->register($username,$password);
|
Using the class name is still backwards compatible in PHP5 and is the only way to make it work in PHP4 too. Nothing wrong with tha
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --