I have a little bit of a strange problem. My script is accepting data using the GET functions and then loading a URL up to POST that information. Now i can see from reports how many leads we are posting to our client. Now our script also adds each data we post to our client to our own data. Now the client is reporting a higher number of leads posted to them than whats being added to our database.
Does anyone know why this may be happening? How do i view MySQL errors in case its not been added to the database due to an error? Or how do i code it so if theres a MySQL it will email me with the error?
I have ROOT access to our server so any help would be great.