Bir formum içinde kullandığım listbox'dan değer seçiyorum ve insert yapıyorum sorun yok. Fakat bu listboxdan seçtiğim değere göre bir text alana yada echo ile listboxdan gelen değerin tablosunda yer alan başka bir değerde yazdırmak istiyorum.
Mesela isimler tablomda id,adı,soyadı alanım var ben listboxdan id yi seçim insert yapıyorum ama ben bilgi anlamında bir yerde adı ve soyadı da gözüksün istiyorum. Nasıl yapabiliriz? listboxdaki id değişince anlık ad soyad da değişecek
<tr>
<th scope="row">Kalıp Kodu</th>
<td height="35"><select name="kalipkodu" id="kalipkodu">
<?php
do {
?>
<option value="<?php echo $row_rsKalipListele['Kalip_Kodu']?>"><?php echo $row_rsKalipListele['Kalip_Kodu']?></option>
<?php
} while ($row_rsKalipListele = mysql_fetch_assoc($rsKalipListele));
$rows = mysql_num_rows($rsKalipListele);
if($rows > 0) {
mysql_data_seek($rsKalipListele, 0);
$row_rsKalipListele = mysql_fetch_assoc($rsKalipListele);
}
?>
</select></td>
</tr>
<tr>
<th height="42" scope="row">Anlaşma Gr</th>
<td height="35"><input type="text" name="anlgr" id="anlgr"></td>
</tr>
<tr>
<th scope="row">Grup Kodu</th>
<td height="35"><input type="text" name="grkod" id="grkod"></td>
</tr>
<tr>