Thanks for the tips,
I'd looked at the function edituser() and seems to me that this is only a form to collect the data needs to be updated and at the end of the function
|
Quote:
|
."<input type=\"hidden\" name=\"user_id\" value=\"$userinfo[user_id]\">"
."<input type=\"hidden\" name=\"op\" value=\"saveuser\">"
."<input type=\"submit\" value=\""._SAVECHANGES."\">"
."</form></td></tr></table>";
CloseTable();
|
This pass the collected data to the function saveuser() that do the actual update of the user info changed to the nuke_user table.
I think the function saveuser() serve for update user info, is it correct? It is because initial creation of user account only needs user name; email address; password and that was put to nuke_user_temp and when user activate the acount, writes it to the nuke_user table.
I am complete newbie to php scripting, so if my thinking is wrong, how am I going to use the info collect from this form? :?:
Do I need to have a function eg update_accounts to do the job? I am trying a easy way out :P just to use the data and put it to different database table while the script is updating the nuke_user table's fields since the data is global within that function that I want to take advantage of this to update other database table's field.
Thanks in advance for the time
Regards,