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

Lesson 8. Working in Depth with Variables > Automating with Structures

Automating with Structures

Generally, it's a good idea to separate your programming code from your display code. In the case of the form to email comments, this would involve one file to process the form and one to display the confirmation. A problem arises, however. How do you pass the user information from one template to the other? You could pass each individual value through the URL, but there is a much easier way: use a structure.

We already have the information for both parts of the process, so now we'll split it up into two pages and add the tags to make them speak to each other.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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