Re: Sharing form information

From: Date: Sun, 16 Jun 2002 01:11:32 +0000
Subject: Re: Sharing form information
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102368@lists.php.net to get a copy of this message
on 16/06/02 10:42 AM, Frank Kicenko (frank.kicenko@amjack.ca) wrote: > I have a couple of questions if you don't mind... the PHP > help files seem to be very vague with respect to html issues. > > Questions: How can I get the "selected" info from a selectbox that is in > another form on the same page... I've tried everything I know to be able to > get this. For instance, if a selectbox is part of $f1 and I'm submitting > using $f2, how can I get the selection from the $f1 selectbox and use it in > my $f2? Anything do with PHP AFTER it's reached the browser (ie, dynamically doing stuff with pull-downs) is a JavaScript-type issue. PHP happen on the server BEFORE it reaches the browser. > Also, how can I insert a "textbox" or other items into a cell? The > input_text belongs to $f2 and I need to insert it into a cell. for example > the following doesn't work properly as it inserts it, but on a submit.. > again the values don't belong to $f2. > > insert($t,$c = cell()); > insert($c, input_text(array("name"=>"matrix", > "value"=>"$ohms", > "size"=>"15", > "maxlength"=>"15")))); What????? I don't understand. Justin French

« previous php.general (#102368) next »