PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have this form that calls this php script (below) and it only works sometimes. If I try to send the form again it works and if I try again it fails and again it fails. It is very hit or miss. Could someone please tell me why it does this. Thanks
What does "fail" mean? You get an error message from PHP? From your code? Nothing but the INSERT doesn't work?
Have you tried printing the query to see what it is, if it's valid?
Have you done any debugging at all?