Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Pages: 1 [2]

Author Topic: PHP code inserting  (Read 9187 times)

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
PHP code inserting
« Reply #15 on: May 13, 2007, 04:07:44 PM »

Quote from: codetwist
Code: [Select]
function hello() {
  echo 'Hello World';
}
$variable ='hello';
?>"
And after inclusion of such code block just execute $variable:
Code: [Select]
$variable();
you can do that???  

Off to play :D :D
Logged
Of all the things I have lost, it is my mind that I miss the most.
Pages: 1 [2]