05-29-2019, 11:03 AM
20 $db->update('users',$theNewId,['phone'=>Input::get('phone')]);
21 $db->update('users',$theNewId,['challenges'=>Input::get('challenges')]);
22 $db->update('users',$theNewId,['membership'=>Input::get('membership')]);
23 $db->update('users',$theNewId,['orig_chos_day'=>Input::get('orig_chos_day')]);
24 $db->update('users',$theNewId,['message'=>Input::get('message')]);
25 $db->update('users',$theNewId,['ecname'=>Input::get('ecname')]);
26 $db->update('users',$theNewId,['ecphone'=>Input::get('ecphone')]);
27
28 <?php
$params = array(
'sitename' => $settings->site_name,
);
$to = rawurlencode("my@emailaddress.com");
$subject = 'You got a new user!';
$body = email_body('_email_newuser.php',$params);
email($to,$subject,$body);
?>
21 $db->update('users',$theNewId,['challenges'=>Input::get('challenges')]);
22 $db->update('users',$theNewId,['membership'=>Input::get('membership')]);
23 $db->update('users',$theNewId,['orig_chos_day'=>Input::get('orig_chos_day')]);
24 $db->update('users',$theNewId,['message'=>Input::get('message')]);
25 $db->update('users',$theNewId,['ecname'=>Input::get('ecname')]);
26 $db->update('users',$theNewId,['ecphone'=>Input::get('ecphone')]);
27
28 <?php
$params = array(
'sitename' => $settings->site_name,
);
$to = rawurlencode("my@emailaddress.com");
$subject = 'You got a new user!';
$body = email_body('_email_newuser.php',$params);
email($to,$subject,$body);
?>