Found the problem! ! It turns out to be a problem with php.ini , look for the enable_post_data_reading variable, make sure it is open, and remove the semicolon in front of the statement (the statement with a semicolon is a comment statement): It was very uncomfortable after being stuck for an hour. .
代码如下
<form action="estimate.php" method="post">
<input type="text" name="score">
<input type="submit" value="estimate my futrue,please!">
</form>
<?php
$score=$_POST["score"];
if($score>100){
echo "I subjest you leave this world!!!you're a genius!! man!";
}
else if($score<100&&$score>80){
echo "you're garbage ,Man,you even can't got 100score,Look at your neighbor XiaoMing";
}else if($score<80&&$score>60){
echo "your futrue is bright!!!!";
}
else{
echo "congratulation,you got a nice score,you can get into the University of Oxford";
}
?>
Found the problem! ! It turns out to be a problem with php.ini , look for the enable_post_data_reading variable, make sure it is open, and remove the semicolon in front of the statement (the statement with a semicolon is a comment statement): It was very uncomfortable after being stuck for an hour. .
It turned out that the text to be added was not clear. . .
bug?
Can’t put the code
Why is it prompted to enter valid content when entering a code snippet