View Single Post
  #3 (permalink)  
Old January 1st, 2005, 10:47 PM
mani_he mani_he is offline
Friend of Wrox
 
Join Date: Aug 2004
Location: , , .
Posts: 117
Thanks: 0
Thanked 2 Times in 2 Posts
Default

hi
The old way is like this

$var1 = "hello";
function globalHello($var1)
{
  echo $var1; //will give "hello"
}

Thanks
Regards
Mani_he