Skip to main content
Inspiring
April 16, 2013
Answered

Preview content before committing to a database record

  • April 16, 2013
  • 1 reply
  • 545 views

I have a need to give admins the ability to preview content before it's committed to a database record, but I am not quite sure how to do this.

Do anybody here know how I might go about it? If so, could you please advise?

Many thanks.

This topic has been closed for replies.
Correct answer bregent

You would post the comments to the database. The table would have a Boolean column that would indicate whether the content was viewable, set to false initially. Once reviewed, the admin would set the flag to true, or delete the row.

1 reply

bregentCorrect answer
Participating Frequently
April 17, 2013

You would post the comments to the database. The table would have a Boolean column that would indicate whether the content was viewable, set to false initially. Once reviewed, the admin would set the flag to true, or delete the row.

Inspiring
April 17, 2013

As I thought really, but it seemed too simple

Thanks.