PHP dynamically generated table, read the value of a specific column, the column is a text box or a drop-down box, asking to read the value of the text box and the value of the drop-down box currently displayed, ask how to do AH

Source: Internet
Author: User
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
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.