title: Return sql query as array
body: <p>I'm using jqueryui and its Autocomplete plugin. It use a json to extract items.</p>
  
  <p>I want to modify it so that items will be extracted from my db.</p>
  
  <p>Here is how items should be :</p>
  
  <pre><code>$items = array(
  "Great &lt;em&gt;Bittern&lt;/em&gt;"=&gt;"Botaurus stellaris",
  "Great2 &lt;em&gt;Bittern&lt;/em&gt;"=&gt;"Botaurus stellaris 2"
  );
  </code></pre>
  
  <p>How to make an sql query that extract data from a table and write it like the code above into the php file ?</p>
  
  <pre><code>Table : customer
  id_customer | name_customer | country_customer
  </code></pre>
  
  <p>I want that array produce <code>id_customer =&gt; name_customer</code></p>