Hello there, I am learning php (as a beginner, but not beginner programmer) and I am having difficulty accessing form vairables.
I have an html page with the code:
<input type="text" name="orderNumber" size="10" maxlength="5">
and it's action is to submit to processOrder.php which WILL NOT output when I write:
<?php echo $HTTP_POST_VARS['orderNumber']; ?>
(cannot see the prderNumber variable)
why is that? I tried other scripting styles and it doesn't work, under that I have the line:
<?php echo date('H:i, jS F'); ?>
which does work so I can see the php is working.
What can be the problem?? thank you!