title: how to make php expressions and execute from database?
body: <p>I have a database table that stores various type of operators and values that make expressions like</p>
  
  <pre><code>if(mydBVal1 mydBExpression mydBval2)
  {
     // do something....!
  }
  </code></pre>
  
  <p>Here is my code thats shows and example of what I want to say and the help I require
  e.g:</p>
  
  <pre><code>$data['myValue'] = 100;
  $data['operator'] = "&lt;";
  $data['comparison_value'] = 150
  
  if( $data['myValue'] . $data['operator'] . $data['comparison_value'] )
  {
      ///do something......
  }
  </code></pre>
  
  <p>I want that if condition to be read as <code>if(100 &lt; 150){}</code>, but the if condition expression is not working properly!</p>
  
  <p>any one here know how I can make it work?</p>