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

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

I have two .php files as such:

test1.php



    Sample


    
9条回答
  •  深忆病人
    2021-01-22 15:33

    This one is fully tested and allows you to revise the value after submission. You still have to worry about cross-site scripting attacks, etc... but that is outside of the scope of the question.

    
    
        Sample
    
    
        
        

    You have chosen

    Please enter a number

提交回复
热议问题