SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Dec 8, 2008, 02:35 #1
- Join Date
- May 2005
- Location
- Hungary
- Posts
- 70
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Create separate view for unregistered forum readers?
I have a custom-designed message board in which unregistered readers can only see posts that are older than a day.
The forum software accesses the posts via a view so the select query is very simple in the application.
Should I create a separate view for the posts that are available for everyone (by defining the required age in the where clause) or should I just add a field which calculates the age of the posts and filter out the immature ones at every select query?Eat healthy,
Exercise daily,
Die anyway.
-
Dec 8, 2008, 14:38 #2
Bookmarks