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