Created
October 3, 2012 13:29
-
-
Save aligundogdu/3826906 to your computer and use it in GitHub Desktop.
dizi
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
$cikti = array(); | |
//Lazım olacak diziyi üretelim önce | |
$anadizi[] = array("Ahmet"); | |
$anadizi[] = array("Ahmet 1"); | |
$anadizi[] = array("Ahmet Kim la"); | |
$anadizi[] = array("Amcolu"); | |
foreach($anadizi as $dizi){ | |
if(is_array($dizi)){ | |
$cikti[] = $dizi[0]; | |
} | |
} | |
print_r($dizi); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment