1 Replies - 454 Views - Last Post: 16 September 2011 - 05:18 AM Rate Topic: -----

#1 gokulforum  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 6
  • Joined: 06-September 11

Php transaction

Posted 16 September 2011 - 04:58 AM

Hi

i want apply transaction to insert record to more than one table
i am use mysql_query("BEGIN"),mysql_query("COMMIT"),mysql_query("ROLLBACK") but it is not work.
i also set AUTOCOMMIT session variable to zerro
but transaction does not work plese help me.
Thanks to all
Is This A Good Question/Topic? 0
  • +

Replies To: Php transaction

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2990
  • Posts: 10,332
  • Joined: 08-August 08

Re: Php transaction

Posted 16 September 2011 - 05:18 AM

Check out all of the links here. Especially the introduction to PDO.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1