Well, I don't know how it works. I can't pass the _ POST value. Reply to discussion (solution)
Try var_dump ($ _ POST ['title']);
What is the development environment? I have encountered this problem with phpstorm 10 before. my solution is to transfer the value through the apache server.
Var_dump doesn't work either. I tried it. I'll try another Apache.
I have nothing to do with Apache ~ What should I do! What's wrong with me?
I am a newbie. do you want to try this. You can output 111 by default, or cancel 111 by yourself. The test is effective in two examples, hoping to help you.
Test. php
Echo "default output value:". $ _ POST ["title"];
?>
------ Split line -----
Test. php
Echo "the value you entered is:". $ _ POST ["title"];
?>
OH, NO, not work, but thank you.
Print_r ($ _ POST );
Echo file_get_contents ('php: // input ');
View Results
In addition, remove enctype = "multipart/form-data ".
I also had this problem. later I changed phpstorm10 to phpstorm9 and then I could use post to transfer the value. it may be because of a problem with the built-in server of phpstorm10.
Finally, change PHPStorm to 9.
I also had this problem. later I changed phpstorm10 to phpstorm9 and then I could use post to transfer the value. it may be because of a problem with the built-in server of phpstorm10.
That's it. I changed 9, and then I can! Thank you.