Here is the code:

index.html

<html>
<body>
<form action="test.php" method="post">
Your name:
<input type="text" name="YourName"><BR>
Cost of a lunch:
<input type="text" name="CostOfLunch"><BR>
Days Buying Lunch:
<input type="text" name="DaysBuyingLunch"><BR>
<input type="submit">
</form>
</body>
</html>
--------------------------------------------

index.php

<?

 $Today = date("1 F d, Y");

?>

<html>
<body>
Today's Date:
<?

print("<h3>$Today</h3>\n");

print("$YourName, you will be out ");
print($CostOfLunch * $DaysBuyingLunch);
print(" dollars this week.<BR>\n");
?>
</body>
</html>
--------------------------------------------

Returns:

Today's Date:
1 June 10, 2007
, you will be out 0 dollars this week.


Thanks in advance for any feedback!













"Tijnema" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
On 6/10/07, Roy W <[EMAIL PROTECTED]> wrote:
> My host company must have an installation/configuration issue.
>
> Variables from forms are not being passed to the php scripts that are sent
> via <Form>
>
> Has anyone heard of this and know of the fix?

I don't think that's possible, please show us part of your code, as I
expect the problem to be there.

Tijnema 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to