PHP upload - Why isset($_POST['submit']) is always FALSE

后端 未结 5 1375
执念已碎
执念已碎 2021-01-05 06:08

I have the following code sample upload3.php:



PHP Form Upload



5条回答
  •  花落未央
    2021-01-05 06:21

    
    

    should be

    
    

    and that subname should be in $_POST[' ']

    it will look like

    if (isset($_POST['subname']))
    {
        echo "isset submit";
    }
    else 
    {
        echo "NOT isset submit";
    }
    

提交回复
热议问题