You saw the table data on a live page on the same server? Do you have a sample url? The next thing to do would be to debug the precise line of code causing the error. Most likely the line of code that does the insert. Then write the insert code to the page so you can see what it is trying to do and might be able to spot the problem.