diamonds
07-17-2003, 02:32 PM
Is thre a function in PHP that will return TRUE or FALSE if a function is set or not(without calling it!)?
(... if(isfunctionset(function)){}else{} ...)
I am just wondering...
and, Can you edit a global variable inside a function?
$my_not_your_global_var = '';
function change($add = ''){
$my_not_your_global_var .= @$add;
}
I am having trouble with the second one mostly.
An awnser to these questions would make my life programing life a lot more easy!
(... if(isfunctionset(function)){}else{} ...)
I am just wondering...
and, Can you edit a global variable inside a function?
$my_not_your_global_var = '';
function change($add = ''){
$my_not_your_global_var .= @$add;
}
I am having trouble with the second one mostly.
An awnser to these questions would make my life programing life a lot more easy!