Jump to content

function in function


Fluf

Recommended Posts

yep, of course it works  ;D

Please try these things out before posting here  ;):

<?php
function check()
  {
     echo "Fluf";
}
function echo_data()
  { 
     echo "My name is ";
     check(); // and then it should echo the name..
}


echo_data();
?>

 

Regards ACE

Link to comment
https://forums.phpfreaks.com/topic/73069-function-in-function/#findComment-368497
Share on other sites

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.