Strings should be quote-delimited, thus
Code:

? '"'+$user.department+'","'+$user.givenname+'","'+$user.sn+'","'+$user.name+'","'+$user.mail+'","'+$user.description+'"'


Fixed code.


Edited by sealeopard (2005-07-23 03:59 PM)
_________________________
There are two types of vessels, submarines and targets.