[ic] Difficulty with $Tag->userdb( ... )

David Totten interchange-users@lists.akopia.com
Tue Jul 3 17:44:18 2001


On Tue, Jul 03, 2001 at 01:19:16PM -0700, Jeff Carnahan wrote:
> I'm trying to use $Tag->userdb( ... ) to create a new account in the user
> database, yet when I use (in a parsed page):
> 
> $Tag->userdb({ function => 'new_account',
>                username => $Values->{email},
>                log => 1, });

You have not mentioned where you are trying to do this, but
I would guess it was in a [perl] block. If this is where
you are trying to do this, make sure that you include the
tables parameter in the perl tag.

[perl tables="userdb"]
.
.
.

[/perl]

You may also have to do a [tag write tables="userdb"] up above the perl tag.

Dave Totten