I am new to this and i am trying to write a script where it will query the DB and return all the usernames in a drop down list and then to copy out the selected name and then when you register a Dog to them it will copy the name into the DB, So Owners can have many dogs but dog can only have 1 owner... i can enter Name and Breed but not the results from the drop down list, i did try to get java script to pull the selected item in drop down to be where the $ownername is in in the 'insert into...' scriptI am new to this and i am trying to write a scr