I am busy with Assignment 1.
I am trying to combine all my HTML and PHP on one document, and saving it as a PHP extension.
Am I correct in my assumption that this is more professional or preferable than doing separate HTML and Phip docs?
Why I'm asking, is I'm having difficulties with trying to do it so neatly.
how to solve, that is the question.......
If I've not confused everybody now, can someone maybe point me in a direction?
Registered: 13 years ago
I'm not sure if (and how) PHP can check the user's input, and how to return him back to the html part if it wasn't correct,
you have to use a normal button.
which then doesn't populate the php variables.
But don't worry, I'll just change my design to work differently and try to validate it with PHP itself, or otherwise not validate text input at all, and just submit it. thanks for the reply.