title: php regex preg_match: less than and less than equal to not working
body: <p>So this is my <code>preg_match</code> code, </p>
  
  <pre><code>preg_match("/&gt;=|&lt;=|&gt;|&lt;/", $value)
  </code></pre>
  
  <p>So whenever user input something like <code>'&lt;50' or '&lt;=50' or '&gt;50' or '&gt;=50'</code>, I can get their input and send to my query</p>
  
  <p>My <code>&gt;=</code> and <code>&gt;</code> works well, but less than and less than equal to are not working properly.</p>
  
  <p>Sorry, the <code>&lt;=&lt;</code> and <code>&lt;&lt;</code> are my try, I modified back</p>
  
  <p>Thank you.</p>