Basic PHP page

by 3:43 AM 0 comments
<html>
<title>Workflow Registration</title>
<body>
<p>You entered:</p>
<p><?php echo "Some Data"; ?></p>
</body>
</html>

Overall, you have a simple HTML page with a single PHP section in bold. When the
server encounters the <?php symbol, it knows to evaluate the commands that follow,
rather than simply send them out to the browser. It keeps following instructions—
which you'll see in a moment—until the end of the section, as indicated by the ?>
symbol.
In this case, you have just one command, echo, which tells the server to output the
indicated text. That means that if you save the page and call it with your browser
(which you'll do in a moment), the browser receives the page

Unknown

Developer

We Looked in the Face Of Truth As iT Told Us Lies

0 comments:

Post a Comment