Tags: update

Sort by: Date / Title /

  1. 5 months ago by spirit
    1. # MySQL has 2 methods for handling this:
    2.  
    3. REPLACE INTO people(id,name,email) VALUES (in_id, in_name, in_email);
    4.  
    5. INSERT INTO people(id,name,email) VALUES (in_id, in_name, in_email) ON DUPLICATE KEY UPDATE name='$in_name', email='$in_email';

First / Previous / Next / Last / Page 1 of 1 (1 posteets)