For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2005 > Get Confused : Use Transaction or not









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Get Confused : Use Transaction or not
Phil

2005-04-25, 8:57 am

Hi,

I want to develop a multiuser system using PHP(5.04),MySQL(4.1.10) and
PEAR(DataObject).
There is only one MySQL account for PHP to operate data.
All user's information will be stored in database,include id,passwd and etc.
However,I get when I write queries in PHP script.
Because one data row may be modified by different user at the same time.

Should I use Transaction in my queries ?

Regards,
Phil
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com