Running Hype code returned from PHP

So my post above would have worked? :wink:

D

I had tried escaping like that. It still did not like it!

What I would do.

Is obtain the scene name from the returned code and insert it in a normal hype call.

This would be much easier and safer.

Great idea. Thanks Mark and DBear. I’m curious what makes this safer though

Because you then don’t need eval. Which will run n any JavaScript passed to it as a string.