Der dee der. After re-reading my message, I realize its a syntax error in the insert statement. Its inserting the string of $variablename and not the contents of the variable. I need more caffiene. Ron