Created
July 18, 2013 03:08
-
-
Save jekamozg/6026421 to your computer and use it in GitHub Desktop.
Insert or update query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"INSERT INTO SC_brands_categories (".implode(",", array_keys($c_value)).") VALUES(".implode(",", $c_value).") ON DUPLICATE KEY UPDATE ".implode(",", $update_array) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment