PHP - form action calling itself, how to display everything in 1 page?

后端 未结 9 1336
暖寄归人
暖寄归人 2021-01-22 14:43

I have two .php files as such:

test1.php



    Sample


    
9条回答
  •  时光说笑
    2021-01-22 15:22

    Just use isset() for submit button, note that i added name="submit" to your button since it was missing

    
    
        Sample
    
    
    
        
            Please enter a number 

提交回复
热议问题