Hi guys,

I have a foreach(), I wanted to forward the array pointer but it won't work.
Below is what I have done so far.
Code:
 	function next_arr() {
		$transport = array(
						'num1' => 'one',
						'num2' => 'two',
						'num3' => 'three',
						'num4' => 'four',
						'num5' => 'five', 
						'num6' => 'six',
						'num7' => 'seven', 
						'num8' => 'eight',
						'num9' => 'nine',
						'num10' => 'ten');
		
		foreach($transport as $transpo) {
			echo $transpo .'<br>';
			next($transport);			
		}
So how do I forward the array pointer inside foreach() using next()?

Thank you very much in advanced.