[PostgreSQL]Transazioni e php
Posted by khelidan on 04-07-2006 11:34
Ciao,per fare una transazione base base in postgre basta dare:
BEGIN;
UPDATE mytable SET eccc;
COMMIT;
?
Dalla documentazione sembrerebbe di si,e in caso di risposta affermativa,come faccio ad integrarla in una instruzione php?
pg_query($handle,"BEGIN;UPDATE mytable SET eccc;COMMIT
Funzionerebbe?
Grazias...
Powered by: vbHome (lite) v3.8 and vBulletin v2.3.1
Copyright © 2000 - 2002 Jelsoft Enterprises Limited