Hi laserlight,
Thanks for your reply.
"Why are you using the legacy MySQL extension?"
At the moment I do not have the php extenions for using MySQLi loaded on the server. This is because I am told that I can't have the legacy "MySQL" and the new "MySQLi" active on the server at the same time.
Because I have a number of applications still using "MySQL" I am worried that if I install the extenions for "MySQLi" the legacy application will not run. I am right?
"Why do you append $POST['SeqNo'] and $POST['TableID']? It looks suspiciously like numbered columns. Perhaps you should be relooking your database design, e.g., another table or two (for a join table) with rows to be added"
The columns are a mix, for example, I have a column named "Commentsxx" the xx is a record group identifier which I use when performing lookups. It may not be the best way but I am working on that.
Many thanks.