Hi,
For this
<select name="birdname"><option value="<?php echo $row['bird_id'] , $row['name']?>">
I would $_POST it first to get the value from the <option>, and then explode it by " ' "
Something like this.. codes below are example and should be modified, before implementing to production server..
$bird_name_id = $_POST['birdname'];
## when posted the value of $bird_name_id is something like this name , id
## this is where we need to use the explode function or any handy php function available.. your choice.
$new_data = explode(",", $bird_name_id);
$birdName = $new_data[0];
$birdId = $new_data[1];