?? ??? ??? ??????
HTML ???
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>??</title> ;
</head>
<body>
<form action="cjpd.php" method="POST">
<input type="text" name="num1" value="??? ??? ?????"
onfocus="if (value=='??? ??? ?????')value='' ">
<input type="submit"value="Submit">
</form>
< /body>
</html>
PHP ???
<meta charset="utf8">
<?php
$cj=$_POST['num1'];
if(!is_numeric ($cj ) ?? $cj<0)
{echo '??? ???? ?????';}
else if ($cj>=0 and $cj<60)
{echo 'Failed';}
else if ($ cj>= 60 and $cj<70)
{echo '??, ??? ???';}
else if($cj>=70 and $cj<80)
{echo '??? ??';}
else if( $cj>= 80 and $cj<90)
{echo'?????? ??? ????';}
else if($cj>=90 and $cj<100)
{echo'? ??? ??? ????';}
else if ($cj==100)
{echo'?? ??';}
else if($cj>100)
{echo'?? ? ??, ?? ? ??';}
?>
html ???
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>??</title>
</head>
<body>
<form action="reg.php">
??:<input type="text" name = "username"></br>
????: <input type="text" name = "password"></br>
<input type="submit" value = "Submit">
</form>
</body>
</html>
PHP ??:
<?php
$u = $_GET["username"];
echo $u;
?>
html ????? ??? ???? PHP? ????? ??? ??????? ??? PHP ??? ???????? ????. ?? ?? ????? ?? ????.