Hi,
I've been having a ball over the last few days trying to configure IIS, PHP5 and MySQL...
Finally got it all working then tried a simple form script and discovered that PHP wouldn't print the variables from the form to the screen!
<html>
<body>
<form action="test.php" method ="post">
Name: <INPUT type="text" name="name" value="your name"><br>
Age: <INPUT type="text" name="age" value="your age" /><br />
<INPUT type="submit" name="submit" value="submit" />
</form>
</body>
</html>
<?PHP
print("Hello, $name! You are $age years old!");
?>
The above scripts are all I used. The HTML form works fine and loads the php page but the contents of the $name and $age variables are blank.
Can anyone help me on this, I'm very new and don't know much about the php.ini file to get this working.
Cheers,
Nick :bemused: