title: using LIKE %% with LEFT JOIN
body: <p>Ok, i used "LIKE"  with "LEFT JOIN" and it works fine.</p>
  
  <pre><code>$sql = $conn-&gt;query("SELECT * FROM tasks t 
                       LEFT JOIN users u 
                       ON t.allowed_countries LIKE u.country 
                       WHERE u.username = '$username'");
  </code></pre>
  
  <p>but when i'm try to use "LIKE %%" instead of using "LIKE" then it gives me error</p>
  
  <pre><code>LIKE '%" u.country "%'
  </code></pre>
  
  <p>Can anybody tell me the problem please?</p>
  
  <p>Thank you.</p>