Last active
November 30, 2016 11:13
-
-
Save jgdoncel/945b5d3cfddcbeffc0c8cd16baff89cd to your computer and use it in GitHub Desktop.
Implode array keys
http://www.tehplayground.com/#qhRHh31Lj
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
// http://www.tehplayground.com/#qhRHh31Lj | |
$codigos = array( | |
"12454"=>"98", | |
"75489"=>"45", | |
"36985"=>"12" | |
); | |
$lista_codigos_string = implode(",",array_keys($codigos)); | |
// $lista_codigos_string = 12454,75489,36985 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment