Why can't the value be passed through?
Stu
Stu 2018-08-18 21:51:46
0
7
1215

Code language


Stu
Stu

reply all(6)
Stu

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. .

  • reply awesome
    ringa_lee author 2018-08-20 09:02:13
Stu

It turned out that the text to be added was not clear. . .

Stu
代码如下
<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";
}

 ?>


Stu

bug?

Stu

Can’t put the code


Stu

Why is it prompted to enter valid content when entering a code snippet


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template