PHP 코드
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!
DOCTYPE
html>
<html lang
=
"kr"
>
<head>
<meta charset
=
"utf-8"
>
<title>
키보드와 하루
</title>
</head>
<body>
<?php
$v_rangenum
=
$_POST
[
"range_num"
];
print_r(
$v_rangenum
);
?>
<form method
=
"POST"
action
= "<?php
echo
$_SERVER
[
'PHP_SELF'
];?>"
>
<input type
=
"range"
name
=
"range_num"
min
=
"1"
max
=
"10"
max
=
"10"
step
=
"1"
value
="<?php
echo
$v_rangenum
;?>"
>
<input type
=
"submit"
value
=
"전송"
/>
</form>
</body>
</html>
|