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

Chapter 25. Working Smart with PHP > PHP Objects in the Insertion Bar

PHP Objects in the Insertion Bar

Developers can access several objects in the PHP insertion bar. Most of these objects are designed to be used alone. For instance, each object inserts a beginning and ending PHP tag that you need only once in your code block. If you want to hand-code PHP and not use the server behaviors that are detailed in Chapter 23, “Further Dynamic Techniques,” you are better off using the tag-completion features of Code view.

For instance, if you start a PHP code block in Code view by typing <?php $HTTP_, a drop-down list pops up listing all eight HTTP variables: COOKIE_VARS, ENV_VARS, FILES_VARS, GET_VARS, POST_VARS, REQUEST_VARS, SESSION_VARS, and SERVER_VARS, where the objects in the Insertion bar give you only four of the possible options.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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