MySQL Forums
Forum List  »  PHP

Re: Double Insert
Posted by: James Wilson
Date: October 15, 2019 10:17PM

Peter, some of the articles I read concerning PDOSTATEMENT::errorinfo indicate that it should only be used during development and not in production.

The query you reference is simply a request to obtain the columns of the subject table. If this fails there is a problem much larger than what I am experiencing. This code has been in production at one site for over 10 years now. If this were to fail and the code continue to run then a totally invalid query string would be produced. This is not the case.

I'll continue to read more on checking errors.

Again, thanks for your reply.

--
James A Wilson
msgwcc@msholmes.org

Options: ReplyQuote


Subject
Written By
Posted
October 14, 2019 12:16AM
October 15, 2019 10:11AM
October 15, 2019 10:54AM
October 15, 2019 11:06AM
October 15, 2019 12:16PM
October 15, 2019 12:30PM
October 15, 2019 12:42PM
October 15, 2019 12:53PM
October 15, 2019 01:04PM
October 15, 2019 09:21PM
Re: Double Insert
October 15, 2019 10:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.