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

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

I have two .php files as such:

test1.php



    Sample


    
9条回答
  •  没有蜡笔的小新
    2021-01-22 15:36

    You simply need to remove the action="test2.php" section and combine both pages into one just like the following:

    
    
        Sample
    
    
        
            Please enter a number 

提交回复
热议问题