i have one dropdown list which has data for \"subjects\" loaded from database. when i clicked on one subject what it should do is load related \"subject_id\" value inside te
Your subject_id is not displaying because you have not printed your book_id after fetching results from database in getbook.php
subject_id
book_id
After this $result=mysql_query($sql);
$result=mysql_query($sql);
Write echo $result['your_book_id_field_name'];
echo $result['your_book_id_field_name'];