therecluse26 / PHP-Login

A login system built with PHP, MySQL, jQuery and Bootstrap
MIT License
839 stars 444 forks source link

Adding new fields in profileedit.php #219

Closed atharvaunde closed 5 years ago

atharvaunde commented 5 years ago

Hello, I want to add some custom fields into the user profile page where someone puts address and bio , I am unable to find way to connect it with backend! In which connectivity file I will need to make changes so that frontend box will push data to DB?

budiony commented 5 years ago

You have to make changes in both profileedit.php (to add more fields) and in /login/class/profiledata.php in function upsertUserInfo() in order to get data from those fields.

atharvaunde commented 5 years ago

@budiony Thanks a ton for help !