BxDolProfile::updateProfileData PHP Method

updateProfileData() public method

Update profile info to database
public updateProfileData ( array $aData )
$aData array where the key of the array is name of database table field example: $aData['Sex'] = 'male';
    function updateProfileData($aData)
    {
        if (is_array($aData)) {
            $sQueryAdd = '';
            foreach ($aData as $key => $value) {
                $sQueryAdd .= " `{$key}` = '{$value}', ";
            }
        }
        $this->updateProfileDataFile($iProfileID);
    }