Problems with multiple arrays
| From: | virtualsoftware at gmail dot com | Date: | Mon, 23 May 2005 13:48:09 +0000 |
| Subject: | Problems with multiple arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215738@lists.php.net to get a copy of this message | ||
Hi all,
I have 3 arrays:
$array _ids = (id_1, id_2, id_3, id_4)
$array_names = (name_1, name_2, name_3, name_4)
$array_emails = (email_1, email_2, email_3, email_4)
I want to create an array that contains all this arrays and then to print the array.
Something like that:
foreach ($full_data as $key => $value)
{
echo "$value<br>";
}
and the result must be:
id_1 - name_1 - email_1
id_2 - name_2 - email_2
id_3 - name_3 - email_3
id_4 - name_4 - email_4
Any help would be appreciated !!!!!!!