PHP Scripting Forums » PHP Classes Support Forum » Access_user Class Support forum

Adding more User Fields to access_user class

(3 posts)
Please support us by buying these products:

  1. User has not uploaded an avatar

    pfinucan
    Member

    Hi,

    I would like to add a bunch of user fields like address, city etc. Has anyone done this, any suggestion on where to start? I am guessing the register_user function...but where do I put the field validation code to check if the field is empty, invalid etc.

    Any suggestions would be helpful,

    thanks

    Posted 4 months ago #
  2. User has not uploaded an avatar

    pfinucan
    Member

    Okay, so after reading through the code a little while I found the function ins_string($value)which can be used for validating the additional fields. I have to say that this is a great class, well written, it has everything. Thank you for posting it...

    Posted 4 months ago #
  3. great that it work for you, note that "real" form field validation is not included. Check here for the validation class on this website.

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.