You are here: Re: Maintaining data integrity with multiple users « All PHP « IT news, forums, messages
Re: Maintaining data integrity with multiple users

Posted by google@tfwasmus.enschedenet.nl on 09/28/59 11:48

Never lock the data, it will indeed cause problems.

As discussed lately: there is no real way to prevent user B from seeing
the outdated data, but submitting it can be stopped by:
1. hidden inputs in the form containing the original data.
2. UPDATE tbl SET field1 = $_POST['field1'], field2=.......... WHERE
field1= $_POST['old_field1'] AND field2=.........

Grtz,
--
Rik

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация