title: Store array value in Database frontend angular2 backend php?
body: <p>Hello first of all sorry if this question already ask?
  But I am stuck in this what exactly I want to is. I am trying to create a rest api for my angular2 frontend. All works fine as I called rest api and from angular2 and start database value in particular table. like</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$stmt = $db-&gt;prepare("INSERT INTO `create_profile`(`developerType`, `skills`, `level`, `workType`, `message`) VALUES (:developerType, :skills, :level, :workType, :message)");$stmt-&gt;bindParam(':developerType', $params-&gt;developerType);</code></pre>
  </div>
  </div>
  </p>
  
  <p>But I am stuck how to store a value which contains array at the place of value like in my skills table there is an array with 2 values but how can I store it into database.</p>
  
  <p>I am using like this ..</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$stmt-&gt;bindParam(':skills', $data);</code></pre>
  </div>
  </div>
  </p>
  
  <p>but its not working I know I missed something but what that I don't know. please help me</p>