File: fwphp/glomodul/z_examples/book_video/gallery_powers/date_test.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/gallery_powers/date_test.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/gallery_powers/date_test.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:
Date: 2 months ago
Size: 556 bytes
 

Contents

Class file image Download
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>Date Picker Test</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
<form method="post" action="date_test.php">
    <p>
        <label for="date">Date:</label>
        <input type="date" name="date" id="date">
    </p>
    <p>
        <input type="submit" name="submit" id="submit" value="Submit">
    </p>
</form>
<?php
if (isset($_POST['submit'])) {
    echo
'The date you selected is: ' . htmlentities($_POST['date']);
}
?>
</body>
</html>

For more information send a message to info at phpclasses dot org.