ofir271 Posted December 3, 2014 Share Posted December 3, 2014 im writing a Provisioning moudle for WHMCS and need to change a custom field on the CreateAccount function. how to i change it? function my_CreateAccount($params) { if ($condition){ //here is the question - how do i save a new value into my custom field $params["customfields"]["my_custom"]="new value"; } } 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 3, 2014 Share Posted December 3, 2014 Hi, If the question is updating an already set parameter, you can do this with a SQL query. 0 Quote Link to comment Share on other sites More sharing options...
ofir271 Posted December 4, 2014 Author Share Posted December 4, 2014 Hi, If the question is updating an already set parameter, you can do this with a SQL query. thanks. it is working 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.