• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Q&A

Q1:Can banner images be set to not show the same one twice in a row?
A1: Through the use of cookies, you can have a browser remember (and tell the server) which image it saw last. You'll learn more about using cookies in Day 17, “Advanced Techniques: Tracking and Using User Data.”
Q2:How can time-based images be applied to more than a single year?
A2: In the example that we've provided, the themes expire after a certain date and cannot be reused. However, as discussed in the chapter, MySQL provides functions for comparing dates based on the month, or day of the year. Either of these functions could work for multiple years.
Q3:Do I need to modify the %<%>% query on server platforms other than ASP?
A3: ASP uses <%> to denote embedded code—thus the problem with UltraDev. If you're using an embedded language that denotes its tags differently, you shouldn't have a problem.
Q4:Now can I expand the comment board into a full messaging system?
A4: Just wait until tomorrow because that's exactly what you're going to be doing.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint