I want drop down in data6 from mysql table in php

  $('#add').click(function() {

        var html = '<tr>';
        html += '<td contenteditable id="data2"></td>';
        html += '<td contenteditable id="data4"></td>';
        html += '<td contenteditable id="data5"></td>';
        html += '<td contenteditable id="data6"></td>';

        html += '<select>';
       <?php foreach($rows as $row){ ?>
                    '<option value="<?php echo($row["product_id"]); ?>"><?php echo($row["product_id"]); ?> | <?php echo($row["product_name"]); ?></option>';
                  <?php } ?>
        html += '</select>';
        html += '</td>';

        html += '<td contenteditable id="data8"></td>';
        html += '<td contenteditable id="data10"></td>';
        html += '<td contenteditable id="data11"></td>';
        html += '<td contenteditable id="data13"></td>';

        html += '<td><button type="button" name="insert" id="insert" class="btn btn-success btn-xs">Insert</button></td>';
        html += '</tr>';

        $('#user_data tbody').prepend(html);

  });