I have a php code if I put it in a single php file it works well, but when I separate the code(HTML form and PHP file that handles the form) it doesn't work accordingly. what could be the problem? please help.