• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 9. Completing the Price Calculato... > Revising the Calculation Script with...

Revising the Calculation Script with Live Data

Both times before, when you output data from a database, you did so directly into HTML. You output the Traveler's Journal entry into the main page in index.asp, and you output the tourName/tourID pairing into a form menu element. In this step, you don't need to output the adult and child prices anywhere that the user can see them. In fact, they need to be output into the calculation itself. As you'll see, though, you output internally to a script the same way you do to XHTML.

Before you do that, though, let's add one more simple piece of functionality: Let's display the name of the tour that users just calculated, in case they forgot or chose the wrong one.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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