I tried this:
Code: Select all
function userinputtable_before_insert(&$data, $memberInfo, &$args)
$uid = $memberInfo['username'];
$data['userid'] = $uid;
$data['site'] = 'RGN';
return TRUE;
}
What is the correct way to add additional keys to the data array?
What is the correct way to change the data of keys stored the data array?