PHP Classes

File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch08_User_and_Ses_Tracking/sessionform.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch08_User_and_Ses_Tracking/sessionform.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch08_User_and_Ses_Tracking/sessionform.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: 3 months ago
Size: 452 bytes
 

Contents

Class file image Download
<?php

session_start
();

$name = $_SESSION["name"];
$color = $_SESSION["color"];

print
'<form action="sessionview.php" method="post">';
print
'What is your name? ';
print
'<input name="name" type="text" value="' . $name . '" /><br/>';
print
'What is your favorite color? ';
print
'<input name="color" type="text" value="' . $color . '" /><br/>';
print
'<input type="submit"/ >';
print
'<input type="submit" name="clear" value="Clear Details" />';

?>

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