3433 Posts in 1058 Topics by 734 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'] = 'firstname.lastname@example.org';
$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 = "email@example.com";
$member->write(); // saves to database.
|Go to Top|