Created
April 21, 2016 15:24
-
-
Save anonymous/79b7a4450fcb591ecc7e00fc596c6ba1 to your computer and use it in GitHub Desktop.
Advanced foreach usage
This file contains 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
//map values | |
foreach ($insertValues as $col_id => $col_value) { | |
$insertValues[$col_id] = $col_value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment