Posted by Philip Ronan on 10/10/05 00:45
"Harry Haller" wrote:
(snip)
> What has gone wrong here and how can I fix it?
>
> <?php
>
> while (list($key, $value) = each($HTTP_POST_VARS))
> {
> echo "$key = $value<BR>";
> }
> echo "<HR>";
>
(snip)
> echo "<INPUT TYPE='HIDDEN' NAME='Course1' VALUE='$ListBox1'>";
Am I right in assuming $ListBox1 is a variable posted from the last form? If
so, you should include some code to set this variable in the PHP code. At
the moment you're just listing the POST vars without setting anything.
Try inserting another line into your while() loop like this:
{
echo "$key = $value<BR>";
$key = $value;
}
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
[Back to original message]
|