I have a very simple insert statement from php to a mysql db. It is inserting 2 entries every time is is run though?
There is nothing wrong with the code at all so I can't fathom what's causing this, anyone think of anything it might be? If I insert directly from the mysql server it works fine?
Nick
Insert into temp.test values (‘test’, ‘Go for it’, ‘aidxjluw18sl’)
If field three is unique then this statement only works once. Maybe try a primary key, or a multi-primary key. That is how I would get around it.