One rather key question, are you invoking your form through your web server? or are you accessing the file directly?
One way to access the file directly (which you don't want to do) is to use a file reference to browse and find the file on your C: drive. You should be accessing the first file through your browser with a URL like http://localhost/firstfile.php You can get the symptoms you describe by not invoking the file through your web server. Warren Vail [EMAIL PROTECTED] -----Original Message----- From: paradiddles [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 9:26 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] newbie form question.. I just created a simple html form and a .php file as a test to be sure php is working right. All I want the form to do is test the echo construct (which prints the text between the opening and closing php tags) to be sure my php interpreter is working right. The line in my html form used to identify the method looks like this: <form action="processorder.php" method=post> The line in my html form used to trigger the submit button looks like this: <input type=submit value="Submit Order"> The code in my php file called processorder.php looks like this: <html> <head> <title>Seans Designs - Order Results</title> </head> <body> <h1>Seans products</h1> <h2>Order Results</h2> <? echo "<p>Order processed."; ?> </body> </html> The problem is when I hit the submit button on my form, I see all the text accept for the text Order processed which is contained in the php tag. In other words, its as if the echo construct is being completely ignored. I think the problem has something to do with the register_globals=on or off thing. So, I changed the setting from off (which was the default setting) to on and restarted apache. No joy! Is there something in the code that I need to change? thanks ---------------- "forget your lust for the rich man's gold. All that you need, is in your soul. You can do this if you try. All that I want for you my son, is to be satisfied" ~ Lynard Skynard --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php