When reading from your database, include a link to the 'Add to Portfolio' page passing the property reference by querystring.
Then you'll need to select it from the db when you read the portfolio list, e.g. SELECT * FROM Property WHERE reference = $ref in the for loop. |