On 30 Jul 2002, Paul wrote:
> $strSQL = sprintf("INSERT INTO companies (comp_name, type_id) VALUES
> ('%s', %s);",$strCompName,trim($intTypeID));
Lose the trailing semicolon. The backend is probably
interpreting that as:
"insert foo" + empty statement
Matthew.