How to properly pass form data in php?
问题 I'm using php to build a small form that requires passing 2 variables for processing. I got the example off w3schools and although the info gets passed in the URL, the php form doesn't process it in any way (let alone extract it). I'm just wondering if there might be anything wrong with my WAMP server. <html> <body> welcome Welcome <?php echo $_GET["fname"]; ?>.<br /> You are <?php echo $_GET["age"]; ?> years old! </body> </html> HTML form: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0