Web Analytics Made Easy -
StatCounter pear auth custom fields? - CodingForum

Announcement

Collapse
No announcement yet.

pear auth custom fields?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pear auth custom fields?

    if i have an `accounts` database table with lots of fields other than just username and password, how would i pass all those values to Pear's AUTH class? i see where u can set usernamecol and passwordcol but i cant seem to be able to add other fields like "email, group, name, etc"....

  • #2
    SQL:
    INSERT INTO table_name (column1, column2, column3,...)
    VALUES (value1, value2, value3,...)

    you might want to change `column1` to `username` and so on..

    http://www.w3schools.com/php/php_mysql_insert.asp
    :. -= | Eran | =- .:
    __________________

    Comment


    • #3
      that had nothing to do with PEAR's AUTH package

      http://pear.php.net/package/Auth
      Last edited by boeing747fp; Apr 8, 2009, 01:07 PM.

      Comment

      Working...
      X