PHP Classes

File: fwphp/glomodul/z_examples/AJAX_form_valid/ajax/1002_frm_valid_js.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/z_examples/AJAX_form_valid/ajax/1002_frm_valid_js.php   Download  
File: fwphp/glomodul/z_examples/AJAX_form_valid/ajax/1002_frm_valid_js.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/z_examples/AJAX_form_valid/ajax/1002_frm_valid_js.php
Date: 1 year ago
Size: 479 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
  <title>1002 Validating a Form</title>
  <link rel="stylesheet" type="text/css" href="css/basic_2.css" />
</head>

<body>

<?php
  $firstname
= $_POST['firstname'];
 
$age = $_POST['age'];

  print
"<h3>A Message for you $firstname</h3>";

  if (
$age > 40)
  {
    print
"<p>You are over the hill!</p>";
  } else {
    print
"<p>There is still time to switch careers!</p>";
  }
?>


</body>
</html>