目录
<?php
header("Content-Type: text/html; charset=utf-8");
$a = array('i', 'you', 'her', 2, 4, 3);
print_r($a);// 原数组
echo '<br>';
//增,只能往后增
$a[6] = 'and';
print_r($a);
echo '<br>';
//改
$a[1] = 'you';
print_r($a);
echo '<br>';
//查
echo $a[3].'<br>';
//删
unset($a[0]);
print_r($a);
echo '<br>';
?>
<!DOCTYPE html>
<html>
<head>
</head>
<meta charset="UTF-8">
<title>校验站</title>
<body>
<div>
<div>欢迎来到登录页面</div>
<from action='file.php' method='get'>
用户名:<input type='text' name='username'>
密码:<input type='password' name='password'>
<input type='submit'>
</from>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<meta charset="UTF-8">
<title>校验站</title>
<body>
<div>
<div>欢迎来到登录页面</div>
<from action='file.php' method='get'>
用户名:<input type='text' name='username'>
密码:<input type='password' name='password'>
<input type='submit'>
</from>
</div>
</body>
</html>