Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

After Registration

$
0
0
After successful registration I want to update the table cookbook_users fields groupid and active.

I tried:

global $dal;
$tblUsers = $dal->Table('cookbook_users');
$tblUsers->Param["ID"]=$userdata["UserID"];
$tblUsers->Value["groupid"]='member';
$tblUsers->Value["active"]=1;
$tblUsers->Update();

CustomQuery($sql);


Did not work. I think because this only works with data the user added.

Thanks

Viewing all articles
Browse latest Browse all 2586

Latest Images

Trending Articles



Latest Images