// figure 1-5 from "introduction to php" by leon atkinson
$today = date("l F d, Y");
$yourname = $_POST['asdf'];
$cost = doubleval( $_POST['cost'] );
$numdays = intval( $_POST['numdays'] );
?>
today is:
print( "$today " );
print( "$yourname, you will be out \$" );
print( doubleval( $cost * $numdays ));
print( " for buying lunch this week!" );
?>