Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 3rd, 2013  |  syntax: None  |  size: 0.28 KB  |  views: 4  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. INSERT INTO `stats`
  2. VALUES(CURDATE(), :bytes)
  3. ON DUPLICATE KEY UPDATE
  4. SET `bytes` = `bytes` + :bytes
  5.  
  6. #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET `bytes` = `bytes` + 1024' at line 4
clone this paste RAW Paste Data