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

Chapter 17. Three Tiers > Flexible Middle Tier

Flexible Middle Tier

Now we are prepared to build a PHP script that, simply by being pointed to the right database and table and being given some very vague specifications (the existence of two columns and their names), can build an interactive form for displaying and editing all the records. We write a script that allows us to add a new user and to log returning users in properly and allow them to review and update all the data about their record. To do this we pass an XML object, called <member>, back and forth. Each tag on a child of <member> follows the same pattern.

Output

<name-of-data type valid>Current Value</name-of-data>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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