title: send array in javaScript to PHP with ajax
body: <p>I have
  array = [&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;]
  in index.html with JavaScript</p>
  <p>how can I send it to PHP file with ajax</p>