NYCPHP Meetup

NYPHP.org

[nycphp-talk] MySQL concurrency 101

David Mintz dmintz at davidmintz.org
Thu Dec 11 12:48:49 EST 2003


On Thu, 11 Dec 2003, Cogswell, Eric wrote:

> I ran into the same problem not too long ago.  Solved it by sending in
> the "old" field values along with the actual form values entered by the
> user.
>
> <input type="text" name="homephone" value="<?=$home_phone;?>">
> <input type="hidden" name="old_homephone" value="<?=$home_phone;?>">
>
> <input type="text" name="workphone" value="<?=$work_phone;?>">
> <input type="hidden" name="old_workphone" value="<?=$work_phone;?>">
>


I thought about that -- even done something like that when I wanted to
avoided needless UPDATE statements. But I had that filed in the category
of "too cumbersome" (-:


---
David Mintz
http://davidmintz.org/

        "Anybody else got a problem with Webistics?" -- Sopranos 24:17



More information about the talk mailing list