📅  最后修改于: 2022-03-11 14:54:34.400000             🧑  作者: Mango
If you want to do this only in PHP, you will need to add "steps" in your script, like:
step1 (show form) -> step2 (ask validation) -> step3 (validate)
To do so, you can use sessions to keep form content, and GET parameter to track the step. Otherwise the simplest solution is to use javascript:
echo "x "; //use double quotes for js inside php!