Oh, my bad. But you see the problem I'm pointing out about using $fid outside the loop?
Just sticking with warranty_comment, it appears you're grabbing warranty_comment based on $pid , but then in
<select name='warranty'><option selected value='$fid'>$warranty_comment</option>
you're associating that comment with $fid, which is the $aw_id of the comment that comes last alphabetically (based on $post1). That seems odd. Ditto for the <select> named return, further down.
But that's just a problem with building the selects -- I don't think I understand the exact problem you're having inserting into database. Are you saying no matter which option you select, when you submit that form to a script that inserts it into the db, it will only insert a single value?
My guess is you're inserting $fid and $ffid when you should be inserting $warranty and $return -- better yet $POST['warranty'] and $POST['return'] , or something like that. If you'd like to share the code you're using to insert, I'd be interested in taking a look.