topical media & game development

talk show tell print

basic-ajax-04-display.php / php



  <?php
  switch(_REQUEST['value']) {
  case 'Contacts':
  echo "box1|<br><b>Contacts</b><br>William Doe 1, Acacia Avenue<br>Jane Doe, 2 Willow Tree Lane";
  break;
  case 'Calendar':
   dt = gmdate("M d Y H:i:s");
   echo "box2|<br><b>Calendar:</b><br> dt";
  break;
  case 'Adverts':
   source = "wrox_logo.gif";
   echo "box3|<br><b>Advert:</b><br><img src='source '>";
  break;
    }
  ?>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.