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?
|