title: Creating multiple series in chart
body: <p>I don't know how to create multiple series with data.I manage to do with only on ID from table. But when I have to take all data for every ID , didnt work.
  This is php code </p>
  
  <pre><code>&lt;?php include 'login/dbconf.php';
  $conn = mysqli_connect($host, $username, $password, $db_name);
  $conn-&gt;query("SET NAMES utf8");
  $external_cow_id = $_POST['external_cow_id'];
  $query = "SELECT testing_date, delta_mp  FROM  cow_result WHERE id='{$id}'";
  $result = mysqli_query($conn, $query);
  if ( ! $result ) {
      echo mysqli_error();
      die;
  }
  
  $testing_date = array();
  $delta_mp = array();
  for ($x = 0; $x &lt; mysqli_num_rows($result); $x++) {
      $data = mysqli_fetch_assoc($result);
      $testing_date[]=$data['testing_date'];
      $delta_mp[]=$data['delta_mp'];
  }
  
  //echo json_encode($data);     
  
  mysqli_close($server);
  ?&gt;
  </code></pre>
  
  <p>And this is js I use for one cow only.</p>
  
  <pre><code>var chart = new Highcharts.Chart({
  chart: {
      renderTo: 'container',
      backgroundColor: null
  },
  
  title: {
      text: 'FPA RESULTS',
      style: {
          color: '#000'
      }
  },
  xAxis: {
      categories: &lt;?php echo json_encode($testing_date); ?&gt;
  },
  
  yAxis: { 
      labels: {
          style: {
              color: '#CCC'
          },
  
      },
  
      gridLineColor: '#333'
  
  },
  
  series: [{
      name:[&lt;?php echo json_encode($external_cow_id); ?&gt;] ,
      data: [&lt;?php echo join($delta_mp, ',') ?&gt;],
      color: 'blue',
      shadow: {
          color: 'blue',
          width: 10,
          offsetX: 0,
          offsetY: 0
      } 
  }]
  });
  </code></pre>
  
  <p>And I need something like this
  <a href="https://i.stack.imgur.com/SFF7T.png" rel="nofollow noreferrer">chart</a></p>
  
  <p>Every cow has multiple testing_date and delta_mp...
  Thanks for help</p>