Skip to content

Commit

Permalink
Update process.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milq authored Jun 26, 2017
1 parent 2e5494e commit 94a2a99
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/php/form/process.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
$name = $_POST['name'];
$age = $_POST['age'];
$gender = $_POST['gender'];

echo '<p>Your name is ' . $name . '.</p>';
echo '<p>You are ' . $age . ' years old.</p>';
echo '<p>Your gender is ' . $gender . '.</p>';
?>

<p>Your name is <?php echo $name; ?>.</p>
<p>You are <?php echo $age; ?> years old.</p>';
<p>Your gender is <?php echo $gender; ?>.</p>

</body>
</html>

0 comments on commit 94a2a99

Please sign in to comment.