in reply to Weird Results From MS-SQL Value

Replace the printout line with this:
print "The username is ".($RS->Fields(0)->value).".\n";
Then your result will get interpreted correctly. -zeno