Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. $read=1;
  2. $sql2 ="INSERT INTO table (state) VALUES (1) ON DUPLICATE KEY UPDATE id = 1";
  3. mysql_query($sql2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement