Server Technology PPNT Manuel d'utilisateur Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 95
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
PHP: Handling Forms(2/8)
PHP form variables: Alternative 1
PHP variables have same names as form fields
$name for name, $nr for nr, etc.
<?php
echo "< tab le>\ n";
echo "< cap tion >Var iabl es</ capt ion> \n";
echo "< tr> <th> Key< /th> <th> Valu e</t h></ tr>\ n";
echo "< tr> <td> Name </td ><td >$na me</ td>< /tr> \n";
echo "< tr> <td> Seco nd Name</td> <td> $sec ond_ name </td ></t r>\n ";
echo "< tr> <td> Matr ikel Number< /td> <td> $nr< /td> </tr >\n" ;
echo "< tr> <td> Stud y Field</td> <td> $stu dy_f ield </td ></t r>\n ";
echo "< /ta ble> \n";
?>
(30/95)
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 94 95

Commentaires sur ces manuels

Pas de commentaire