NYCPHP Meetup

NYPHP.org

[nycphp-talk] Experts help needed (Sessions)

Joseph Crawford codebowl at gmail.com
Mon Aug 1 20:15:02 EDT 2005


the primary key is the session id so it should find a duplicate key just 
fine. when i enter the query into phpmyadmin when there are no matching 
records it says it inserted one record, then when i do it again it says it 
inserted 2 records this leads me to believe that it deletes the existing 
record then inserts the new but that's not how the docs say it's supposed to 
work. REPLACE uses that functionality not the UPDATE KEY

-- 
Joseph Crawford Jr.
Codebowl Solutions, Inc.
1-802-671-2021
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050801/ba09e51d/attachment.html>


More information about the talk mailing list