Trouble with Apache/PHP on local machine

I have set up Apache 2.0.49 on my pc and it runs just fine. Pages load as they should.

I have downloaded and extracted PHP 4.3.6. I copied the php.ini and php4ts.dll files into the appropriate Windows folders. I edited the httpd.conf Apache file to reflect the correct location of the php4apache2.dll file.

After that, I restarted Apache and it recognized that PHP 4.3.6 was present.

The problem is, when I run any PHP scripts it doesn’t give me the expected result. For example, I set up a simple form asking for a name. After hitting submit, it says “thank you (name i type) for completing the form” Only the name I typed doesn’t show.

There is no error in the PHP document because I have tested it on a remote server and it worked just fine.

I’m just wondering if anyone has any idea as to where I messed up on my local version of Apache. If you need any more info just let me know! Thank you for any help you can provide!