Using global variable how can I use value of one function to pass on to other function without calling a function?
LIKE
$toshik;
function one()
{
global $toshik;
$toshik=2;
}
function two()
{
one();
global $toshik;
echo $toshik; [//this should give value as **2**]
}
?>
There are 2 scenarios here (following up on your code).
There is no third way. What are you trying to accomplish by the way ?