Abhay_R Posted June 11, 2019 Share Posted June 11, 2019 My Question is : if I have three div where i am print same value from database in three div in radio button format . And database value count is 20 . So all three div have 20 value of radio button . so i am using while loop for like below while ($row = $resultset->fetch_array(MYSQLI_ASSOC)) { //echo "<option value=\"{$row['email']}\">{$row['name']}</option>"; echo "<div><input type=\"radio\" class=\"Checkboxes4\" name=\"taskprimary[]\ id=\"taskprimary\" value=\"{$row['email']}\" >"; echo"<span>".$row['name']."</span>"."</div>"; } and print that value in Three div in html page a.Print 20value in radio format html page in first div <div class="col-sm-4"> <div class="form-group ui-widget" id="firstdiv"> </div> </div> b.Print 20value in radio format data in html page in second div <div class="col-sm-4"> <div class="form-group ui-widget" id="seconddiv"> </div> </div> c.Print 20value in radio format data in html page in third div <div class="col-sm-4"> <div class="form-group ui-widget" id="thirddiv"> </div> </div> Now i am trying if i select any radio button value out of 20 value in first div then same matching value will be disable in other two div ( in Second div and third div ) .My aim is we have three div like primary , secondary and reviewer and all three div have all employee name of company including executive and managers which come from database and print in loop . So any one one select primary employee for task then that employee not show in Secondary person list as well as primary person not show in Reviewer person . So if anyone can help me in this then its great for me Link to comment Share on other sites More sharing options...
Larry Posted June 12, 2019 Share Posted June 12, 2019 I feel like this is the third post involving the same question (and I've already answered the other two). Could you clarify if this is a new issue or not? Link to comment Share on other sites More sharing options...
Abhay_R Posted June 13, 2019 Author Share Posted June 13, 2019 Hi Larry i already update first two post and i am glad of your help . Link to comment Share on other sites More sharing options...
Recommended Posts