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


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

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


= $_POST['firstname'];
$age = $_POST['age'];

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

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