topical media & game development
mashup-flickr-complete-exercises-3-2.php / php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<title>Flickr Mashups</title>
</head>
<body>
<h1>Exercise 3-2</h1>
<p>Enter three numbers</p>
<form method="post" action=<3-2.php>>
<input type="text" name="num1" /><br/>
<input type="text" name="num2" /><br/>
<input type="text" name="num3" /><br/>
<input type="submit" value="Submit" /><br/>
</form>
<?php
_REQUEST["num1"];
_REQUEST["num2"];
_REQUEST["num3"];
num1 + num3;
?>
<p>The total is <?php echo
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.