Just because you have a pointer assigned to the string does not ensure that it is terminated. It only finds the start of the string. You need a null character at the end.
I understand that John, but these strings I am writing to the database are declared as follows... const char message[] = "some message"; So the compiler will be null terminating these. Thats why I am confused, it is no like I am building a string manually and forgetting the \0 at the end. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

