Functions declared in UDT's are remembered. Wrap them in the PHP function:
Code: Select all
if (!function_exists ('myfunction') {
function myfunction (){
...
}
}
hth
psy
Code: Select all
if (!function_exists ('myfunction') {
function myfunction (){
...
}
}