title: calling php function from string (with parameters)
body: <p>i'd like to run a php-function dynamically by using this string:</p>
  
  <p><code>do_lightbox('image1.jpg', 'picture 1')</code> </p>
  
  <p>i've parsed the string like this:</p>
  
  <pre><code>$exe = "do_lightbox";
  $pars = "'image1.jpg', 'picture 1'";
  </code></pre>
  
  <p>and tried using the following code: </p>
  
  <pre><code>$rc = call_user_func($exe, $pars);
  </code></pre>
  
  <p>unfortunately this gives me an error - i've also tried splitting the $pars like </p>
  
  <pre><code>$pars = explode(',', $pars);
  </code></pre>
  
  <p>but didn't help ..</p>
  
  <p>any ideas?
  thanks</p>