Oracle B25-317-01 Manual do Utilizador Página 21

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 94
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 93 94

Comentários a estes Manuais

Sem comentários