3237 Posts in 943 Topics by 684 members
|Go to End|
25 April 2013 at 6:42pm
Is it possible to create/insert a new member in this manner?
$o_member = new Member();
$a_data['Email'] = 'email@example.com';
$a_data['Password'] = '123456';
$a_data['FirstName'] = 'My FirstName';
3 May 2013 at 9:25pm
Yes. You can even do
$member = new Member();
$member->Email = "firstname.lastname@example.org";
$member->write(); // saves to database.
|Go to Top|