I want to display a list as described in the link. http://imgur.com/3zeSd As soon as the value in dropdown is choosen. Then it should save the value immediately.
EDIT:-
çalışıyor ben yazdım kodu ... Bu döngü içinde olduğunu.
<tr>
<td><?php $number += 1; echo $number;?></td>
<td><?php echo $record['db1_CON_NUMBER'];?></td>
<td><?php echo $record['DB1_status'];?></td>
<td width="100" class="rtodata">
<select name="action_db2" id=<?php echo $record['db1_CON_NUMBER']; ?> onchange="mark_doubleones_1('doubleones1.php?tab=doubleones&id='+this.id+'&value='+this.value);">
<option value=""<?php if( $action_db1 == '') echo 'SELECTED';?></option>
<option value="yes"<?php if( $action_db2 == 'yes') echo 'SELECTED';?>>Ok to Invoice</option>
<option value="no"<?php if( $action_db2 == 'no') echo 'SELECTED';?>>Exclude</option>
</select>
</td>
</tr>
ve javascript
function mark_doubleones_1(url){
document.location.href = url;
}
Şimdi @ mistabell diğer bir yöntem önerdi
<select name="action_db2" id=<?php echo $record['db1_CON_NUMBER']; ?> onchange="updateItem(this)">
ve hikaye altında ...