View Single Post

  #1 (permalink)  
Old 01-06-2007
Igal
 
Posts: n/a
Default use a var inside a function

hay. fastest way to explain will be just give example.

$vid = 5

function test() {
$my_vid_inside_function = $vid
}

i want that $my_vid_inside_function will be equal to 5.
in other words, how i use an outside var inside a function?

Reply With Quote