How does one catch/echo the insert results? I have a insertion statement that say that no errors occured but nothing is actually placed in the database.
A:
There is no output from an INSERT
statement, other than the meta data about errors and warnings, retrievable with errorCode() and errorInfo().
If you post your query and your table structure, it's more likely that someone can be of help. It sounds like the problem is most likely with your query.
zombat
2009-08-11 23:29:22
PDO will not accept 'PASSWORD($PASSWORD)' FOR THE VALUES SECTION
Tom
2009-09-05 01:47:12
A:
PDOStatement::rowCount() returns the number of rows inserted or updated by a statement.
BabyCakes
2009-08-21 19:12:47