Trying to autopopulate form using mysql connection