我正在制作一个爬虫,只是尝试基础知识。我被困在试图回显从爬虫获得的数组。这是数组:
Array ( [0] => Array ( [0] => vageemail@hotmail.com ) [1] => Array ( [0] => Testemail@hotmail.com ) )
我想附和这个:
vageemail@hotmail.com
Testemail@hotmail.com
所以我做的是这样的:
$teller = 1;
while ( $teller != 10 ) {
foreach ( $email[$teller] as $mail ) {
echo $mail;
$teller = $teller + 1;
}
}
我究竟做错了什么?