title: Parse error: syntax error, unexpected '*' eval()'d code on line 1
body: <p>I have trouble with PHP's <code>eval</code> function</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected <code>*</code> in line, </p>
  </blockquote>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Here is the script:</p>
  
  <pre><code>&lt;?php
      get_header();
      $dane = wszystkie_monety('27');
      $mylink = $wpdb-&gt;get_results("SELECT * FROM kursy_kruszywa", ARRAY_N);
      $zloto = $mylink[0][1];
      $dolar = $mylink[2][1];
      $data = $mylink[3][1];
      $dokladnosc = 2;
  ?&gt;
  
  &lt;?php
      $start = 0;
      if($dane[$start] != null) {
          $operacja = str_replace(',', '.', $dane[$start+2]);
  ?&gt;
      &lt;tr&gt;
          &lt;td style="width: 334px; text-align: center; background-color: rgb(255, 255, 255);"&gt;
              &lt;a title="" target="" style="" rel="" href="&lt;?php echo $dane[$start+1]; ?&gt;" class="animacja"&gt;&lt;img width="250" title="20_dolarow" style="" src="&lt;?php echo $dane[$start+1]; ?&gt;" class="aligncenter size-full wp-image-59" alt=""&gt;&lt;/a&gt;
          &lt;/td&gt;
          &lt;td id="nazwa"&gt;
              &lt;?php echo $dane[$start]; ?&gt;
          &lt;/td&gt;
          &lt;td id="kwota"&gt;
              &lt;?php 
                  $expression = "$dolar*$zloto/$operacja";
                  eval('$wynik = '.$expression.';');                               
                  echo ceil($wynik/$dokladnosc)*$dokladnosc.',00 zł';
              ?&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;?php } ?&gt;
  </code></pre>