Re: variable passing
| From: | Jason Davidson | Date: | Sat, 13 Mar 2004 07:41:18 +0000 |
| Subject: | Re: variable passing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180319@lists.php.net to get a copy of this message | ||
what is the code your using to try and retrieve the var.. are you using
$_REQUEST['equipment'];
jason
Martin S <martin@skjoldebrand.org> wrote:
>
> I have this in equip-lend-index.php and want to pass the variable
> $equipment back to the same page:
>
> PRINT " <td valign=\"top\">Equipment: <form
> action=\"$USERPREFIX/equip-lend-index.php\" method=\"POST\"
> enctype=\"text/plain\">";
> PRINT " <input type=\"radio\" name=\"equipment\"
> value=\"computer\" />
> Computers";
> PRINT " <input type=\"radio\" name=\"equipment\"
> value=\"phone\"/> Phones";
> PRINT " <input name=\"Select\" value=\"select\"
> type=\"submit\" />";
> PRINT " </form><br />";
>
> Hitting Select (submit button) doesn't pass the value of $equipment back
> to the page. What am I doing wrong?
>
> /M.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>