friends
i have retrived data in table
<td> <?php echo $row['class'];?></td>
<td><?php echo $row['viza_avilible'];?></td>
<td><?php echo $row['midecal_report'];?></td>
<td><?php echo $row['internal_trip_way'];?></td>
<td><?php echo$row['hotel_reservation'];?></td>
<td><?php echo $row['notes'];?></td>
<td><?php echo $row['tel'];?></td>
<td><?php echo $row['email'];?></td>
<td style="" ><input type="checkbox" id="chicbox" name="chick" class="i-checks" value='<?php echo $row['id'];?>' ></td>
<td><select id="admntask" style="height:40px;width:auto" class="custom-select form-control" name="employee">
<?php $user=$con->prepare("SELECT *from admin");
$user->execute();
$m=$user->fetchAll();
foreach($m as $row){?>
<option value="<?php echo $row['adm_id'];?>" > <?php echo $row['adm_name'];?></option>
<?php }?>
</select>
</td>
the problem is :
i have abutton when i click on its update selected column value based on chickbox
if you please helpe me to do it using ajax
Please format the code you posted, by wrapping it in triple backticks. -> `
Обсуждают сегодня