Search from string in mysql using php array : <p>I have absolutely no idea where to start.</p>

<p>I have a table called "users" in my database called "database":</p>

<pre><code>NAME | POINTS
John 24
Marrie 32
Moritz 11
Adam 99
Hans 34
Monica 58
</code></pre>

<p>I also have this</p>

<pre><code>    &lt;?php
    $users = array("Adam", "Hans", "Monica");
    ?&gt; 
</code></pre>

<p>What I would like to do is:
Connect to mysql table "users" then database called "database", search for the names mentioned in the array $users and give me the list of their points (without names).</p>

<p>SO it should echo</p>

<pre><code>99
34
58
</code></pre>
