Hi Alia,

> i would like now how can we call a function within another function in 
> php?

The same way you'd call it from outside a function :-)

<?php

function hello () {
  echo "hello ";
}

function world () {
  hello ();
  echo "world";
}

hello();
echo "<br>";
world();

?>

...should output

hello
hello world

Cheers
Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to