Re: [PHP] preg_replace and eval

2002-10-28 Thread Maxim Maletsky
try splitting it first to get several strings into one array, then loop the array and replace its each element concatenating the strings. This is how my mind can process it so far :) -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home

[PHP] preg_replace and eval

2002-10-28 Thread Daniel Pupius
Hey there, We have a class that sets up a tree structure that represents an e-learning object made up of nested "components". We have a function getPropertyValue($name) which returns the property $name for the current component. Now, we want to allow the user to use something like {parent.proper