21,886
社区成员
发帖
与我相关
我的任务
分享
<html>
<form action="test.php" method="POST">
<table>
<tr>
<td>Name: <input type="text" name="name" size=10 maxlength=10></td>
<td><input type="submit" value="Submit"></td>
</tr>
</table>
</form>
</html>
<html>
<body>
<?php
$name = $_POST['name'];
echo 'isset($name)'.isset($name).'<br />';
echo 'isempty($name)'.empty($name).'<br />';
echo 'isset($null)'.isset($isnull).'<br />';
echo 'isempty($null)'.empty($isnull).'<br />';
?>
</body>
</html>