Revision: 23702
Updated Code
at February 11, 2010 13:05 by gpupo
Updated Code
<?php $b = $a = array('AC', 'AL', 'AM','BA','CE','DF','ES','GO','MA','MG','MS','MT','PA','PB','PE','PI','PR','RJ','RN','RO','RR','RS','SC','SP','TO'); $c = array_combine($a, $b); print_r($c);
Revision: 23701
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 11, 2010 13:05 by gpupo
Initial Code
<?php $b = $a = array('AC', 'AL', 'AM','BA','CE','DF','ES','GO','MA','MG','MS','MT','PA','PB','PE','PI','PR','RJ','RN','RO','RR','RS','SC','SP','TO'); $c = array_combine($a, $b); print_r($c);
Initial URL
Initial Description
- Como ? Não, não tem porque explicar ;) Simples e rápido
Initial Title
Pra você não dizer que eu nunca lhe ensinei PHP
Initial Tags
Initial Language
PHP