Hey I am very new to Web Programming. I have been learning PHP from the past few days and I am stuck at one thing.
I have a form tag in my code which has two submit
But it doesn't seem right for some reason.
That's wrong assumption. Any other solution would be much worst.
Checking on the server side is the only reliable solution. However echo in branches isn't necessary. There are a lot other ways. To use include statement is most obvious one.
echo
include