[PHP-DB] PHP Postgres - query not writing to database.

2009-05-08 Thread Carol Walter
Hello, I have a PHP program that contains a number of postgres queries. At the end of the program, it needs to write data to a database. You can see the code that I'm using below. I have die clauses on all the queries and I have the program echoing the queries that it runs to the

[PHP-DB] MySQL: did anyone start a transaction?

2009-05-08 Thread Bogdan Stancescu
Hello all, I asked this question on php-general last month (http://marc.info/?t=12404923034r=1w=2), and received some answers -- but I was directed to this list, so here. My question is: can I tell programatically whether the next query I'm going to execute is already part of a transaction,