Hi,
This could be a silly mistake or it could be a sign
of configuratin problems. Simply put, my submitted
form variables are not reaching the recieving end:
A form:
<form method=post action="testForm.php">
<input type="text" name="testVar">
<input type="submit" name="submit" value="submit">
</form>
A recieving file testForm.php:
<html>
<body> <?php
printf("<br>testVar is : %s", $testVar);
?>
</body>
</html>
When entering value like testtest in the form element
I still get the following in the recieving file:
testVar is :
i.e. the form variable is not submitted or not
recieved. I also tried doing it through the url
.../testForm.php?testVar=whatever and still the
testVar is empty.
Is there a configuration problem I should be aware of
as clearly it is not a code issue? Also want to add
that php has been functioning otherwise including
using database connectivity ... So do I have to set a
variable in the configuration files of Apache to
enable forms and url variables to be processed?
If anybody could shed a light on this I would be most
greatful
Thanks,
b.
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php