title: Get variable, which is on database stored php
body: <p>I have a big problem to me. I would like to take a variable which is in database.</p>
  
  <p>Below is my database record:</p>
  
  <p>text1/{{{ $variable }}}/text2</p>
  
  <p>I have define this variable on my php code and i would like to take value from this variable which is:</p>
  
  <pre><code>$variable = "more_id";
  </code></pre>
  
  <p>I take this query in my application, I change <code>{{{ $variable }}}</code> by preg_replace like below:</p>
  
  <pre><code>$input = $pob2['krok_1'];
  $res = preg_replace( "/{{{(.+?)}}}/","(\\1) ", $input);
  </code></pre>
  
  <p>var_dump returns me:
  <code>text1/( $variable ) /text2</code> </p>
  
  <p>but I need <code>text1/( more_id ) /text2</code> </p>
  
  <p>Do you have any suggest, how I can do this ?</p>
  
  <p>Przemek</p>