Rodtex,
You are not very helpful with the level of info you give. Why don't you break up the task into sections and test each one, repiorting the results of each.

What does the var $user_dep return?
Does it work if you hard code the USE statement?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.