Access to a select variable "$source.$options[0..16].$t

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Re: Access to a select variable "$source.$options[0..16

Postby Joan Garnet » Wed Feb 12, 2003 2:38 pm

eg1976 wrote:I would like to retransmit the options of a select from HTML code. How do I access the variable in bold??? Simple enough hey...


echo "<HTML><HEAD>";
...
echo $source.$options[0..16].$text</td></tr>";
....
echo "</BODY></HTML>";

?>

Not sure about what you want to do...
If you want to get the variables from the previous page use this:
$HTTP_POST_VARS["variable_name"];
or if you use the GET method
$HTTP_GET_VARS["variable_name"];

Does it help?

Return to “PHP coding => General”

Who is online

Users browsing this forum: phpkode2005 and 1 guest