PHP Class Notes
by ejk
Below is the sample code I created during a PHP class on Tuesday. I'm planning to cover storing and retrieving data from MySQL on Thursday, plus some more practical examples of web applications. If you have any questions or suggestions, log in and comment or send me an email.
" . date(\'l dS \of F Y h:i:s A\', time()) . ""; if ($_POST) { $first_name = $_POST[\'first\']; $last_name = $_POST[\'last\']; if ($first_name == "Eric") { echo "Authorized User: "; } else { echo "Unauthorized User: "; } echo $first_name . " " . $last_name ; echo "Example
"; var_dump($_POST); echo "
";
echo "
" . $number . " |
";
}
?>
Blog Post