In reply to somphol rawang-ngan
Re: How to add field class to database in user/sign.php
by Jan Dierckx -
Not completely sure what you mean.
If you want to add an extra field to the user records, it may be better to look at reusing one of the existing fields. The user record already has AIM ID, Yahoo ID, MSN ID, two telephone numbers, etc...
Reusing exisiting fields is better because ...
it doesn't break the backup/restore code.
you don't have to reapply changes to user/signup.php everytime you upgrade Moodle
it is easier: you can change the name of one of the exisiting fields in your local language pack. There is some documentation about this in Moodle docs. Make sure you pick the right version. Making a local language pack has been made easier in Moodle 1.6 than it was in 1.5.