update_customfield
Usage: bool update_customfield(int fieldid, string newvalue [, bool bypassperms])
Purpose: Updates the value of a custom profile field.
Availability: IPB SDK 0.3
Purpose: Updates the value of a custom profile field.
Availability: IPB SDK 0.3
Updates Custom Profile Field fieldid and sets it's value to newvalue.
If the update failed, FALSE will be returned. A error message can be accessed through sdk_error.
/* Attempts to set Custom Field 1 to "Hello Everyone" */
if ($SDK->update_customfield("1", "Hello Everyone")) {
echo 'Custom Profile Field 1 Edited Successfully';
}
else {
echo $SDK->sdk_error();
}
if ($SDK->update_customfield("1", "Hello Everyone")) {
echo 'Custom Profile Field 1 Edited Successfully';
}
else {
echo $SDK->sdk_error();
}
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.