Adding Profile Fields with Database Data Using Code Snippets

Hi I have to add a set of fields in the profile with the database data through my “code snippets