Bastien Koert wrote:
Not commenting on the appropriateness or security of the eval function. Merely offering a possible path. It is up to the OP to decide if that solution is the correct one.
I would accept that if you'd mentioned, or at least hinted at the issues that need to be addressed when using eval. You didn't so I thought it needed to be pointed out. I think we, as a community, have a responsibility to point out the potential security and stability pitfalls of the possible solutions we provide. But that's just me.
-Stut -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php