Difference between revisions of "User save"
Line 1: | Line 1: | ||
[[Category:User_Functions]] | [[Category:User_Functions]] | ||
− | | + | {{HelpFiles}} |
====User_save==== | ====User_save==== |
Latest revision as of 08:02, 14 December 2011
User_save
Save a user object to the database
Syntax
User_save(userObject)
Arguments
- userObject: is an array. It is a user array, which has the same format as what created by User_new function
Return value
empty
Example
array user = User_new("sebastianohara", "abcd1234", 16613035);
user[USER_PHONE_NUMBER] = {{PhoneNumber_Type_Home1, "0703822745", 84}, {PhoneNumber_Type_Mobile1, "0903353758", 84}};
user[USER_LANGUAGE] = "en-GB";
user[USER_TIMEZONE] = Timezone_SE_Asia_Standard_Time;
User_save(user);
Availability
Version 5.6