title: mysqli_query don't work in PHP
body: <p>Im trying to make an easy Select from the db and save the results in an array.</p>
  
  <pre><code>            $query = "SELECT ID FROM Publikationen WHERE Personen LIKE '%; " . $autor2 . "%';";
              echo($query);
              // get IDs
              $res = mysqli_query($link,$query );
              $i = 0;
              while ($row = mysqli_fetch_assoc($res)){
                  echo($row['ID']);
                  $IDarray[$i]= $row['ID'];           
                  $i++;
              }
  </code></pre>
  
  <p>The <code>$autor2</code> variable is an Name like: "Doe, John".
  The code seems to not go in the loop, and <code>mysqli_error</code> after the loop is null so it seems im not getting results from the db.
  When im copying the echo from <code>$query</code> in phpMyAdmin it works fine. Also when im using a Name instead <code>$autor2</code> it also works fine and im getting my whole Array.</p>