Hi, I know I can hand roll the sql; copying from member import or add new member, but that becomes a bit of a pain when something changes in a future version.
Ideally a function would be easiest for me but that doesn’t seem to exist.
What is the preferred way to do this?
-kevin
If you can get your information into the Post array, you CAN use a function. Here’s how:
if ( ! class_exists('Typography'))
{
require PATH_MOD.'mod.member'.EXT;
require PATH_MOD.'mod.member_register'.EXT;
}
$register_member = new Member_register;
$register_member->register_member();
You’ll have to have a series of var’s in the Post array, though. Once that is done, that function will take care of it.
hope that helps!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.