Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Retrieve form values from DB

Go to End



Community Member, 1 Post

22 March 2010 at 4:05am

Hi there,
I am new to Silverstripe but like it a lot so far (also new to php). I have created a new user form with ssn-id along with other user info. If the ssn-id exists in my database I want to retrieve other values from another database i.e. address, male,female etc.....
If the ssn-id does not exist the fields should be blank for the user to fill out. My question is how do I retrieve the values from the database for example how do I retrive the address value from my database based on the ssn-id ? Any help wil be much appreciated.