On 28/07/10 11:08, Andro Fumero wrote:
hello,
can someone help me how to display the array below like
ex. "so...@yahoo.com and some2.yahoo.com"
Array ( [0] => Array ( [id] => 1 [email] => so...@yahoo.com )
[1] => Array ( [id] => 17 [email] => so...@yahoo.com )
)
Thanks
Try:
<?php
$mails = array();
foreach ($array as $a) { array_push($mails, $a['email']); }
echo implode(' and ', $mails);
?>
--
Rodrigo Ruiz Fuentes
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en