Oracle B25-317-01 Manuel d'utilisateur Page 21

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 94
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 20
Building the Departments Page
Beta Draft Getting Connected 3-3
{ border-bottom: solid #334B66 4px;
font-size: 160%; }
table
{ padding: 5px; }
td
{ border: solid #000000 1px;
text-align: left;
padding: 5px; }
th
{ text-align: left;
padding: 5px; }
.footer
{ border-top: solid #334B66 4px;
font-size: 90%; }
.company
{ padding-top: 5px;
float: right; }
.date
{ padding-top: 5px;
float: left; }
4. To call the user interface functions create anyco.php with the following text:
<?php
require('anyco_ui.inc');
ui_print_header('Departments');
ui_print_footer(date('Y-m-d H:i:s'));
?>
The anyco.php file uses PHP functions to produce HTML content. The
require() PHP function is used to include the code in anyco_ui.inc, such
that the functions defined in it can be called to produce the desired result. If the
required file cannot be found, PHP will generate an error and stop running the
script.
5. To tes t anyco.php, enter the following URL in your browser:
http://localhost/~<username>/chap3/anyco.php
The resulting Web page produced is:
The date and time appear in the page footer section.
Vue de la page 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 93 94

Commentaires sur ces manuels

Pas de commentaire