Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

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

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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?
User avatar
Joan Garnet
Moderator
Moderator
 
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 6 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.