<?php
foreach($_POST as $key => $value){
$$key = $value;
}
echo '姓名: '.$user ."<br/>";
echo '年龄:'.$age."<br/>";
echo '邮箱:'.$email."<br/>";
echo '手机号:'.$cellphone."<br/>";
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<head/>
<body>
<form action="showe.php" method="post">
<input name="user"><br>
<input name="age"><br>
<input name="email"><br>
<input name="cellphone"><br>
<input type="submit"><br>
<form/>
<body/>
</html>