Jump to content

[SOLVED] tricky php question


rsalumpit

Recommended Posts

You don't need to use eval:

 

$POINT = "foobar";
Function foobar($how_bar)
{
    Echo  "not just foobar, $how_bar  foobar.";
}

$POINT('really');

 

However, next time you have a homework question, I suggest you present it as such. People will still help you, as long as you're not after a direct solution.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.