PHP dynamically generated table, read the value of a specific column, the column is a text box or drop-down box, asking to read the value of the text box and the drop-down box is currently displayed value, how to do ah?
[img=http://]
Part of the code ――――php the code to generate the table, after the run page see the drawings
else if (intval ($myEnum) = = 0 && ($myWriteReadFlag = = 2) && ($index = = 2))
{
$myDec =hexdec ($myValue); Converts a hexadecimal value to a decimal
$out. = "\t\t". ' align[$index])? ' align= '. $this->align[$index]. ' "': '). ' Style= "White-space:nowrap" class= "'. $this->tabid. '" > '.
Here is the inserted text box **********************************
''.''." \ n ";
}
[img=http://] [/IMG] PHP input
------Solution--------------------
All right, top up.
------Solution--------------------
did not see the relevant code
------Solution--------------------
if (Intval ($myEnum) > 0 && ($myWriteReadFlag = = 2) && ($index = = 2))
Line 23rd should add a condition. && ($myValue = = {Another drop-down box is an open Value})
------Solution--------------------
Although not understand what you say, but you use JS or post value can be obtained to the select Val, that is, the current value, not to take option, how to take a lot of it