06-29-2010, 03:32 PM
|
#4 (permalink)
|
|
The Addict
Join Date: Aug 2008
Posts: 336
Thanks: 8
|
I have tried out your code sample and it works good for me with a mockup array
php Code:
<?php$testarr = array(); $testarr[] = array("url" => "http://trying.com"); $testarr[] = array("url" => "http://trying1.com"); $testarr[] = array("url" => "http://trying2.com"); $testarr[] = array("url" => "http://trying3.com"); $testarr[] = array("url" => "http://trying4.com"); $testarr[] = array("url" => "http://trying5.com"); if(isset($testarr[ 0][ 'url'] )) { foreach($testarr as $video) { $yonlen = $video[ 'url']; echo "<a href=$yonlen>Download $yonlen</a></br>"; }}?>
It doesn't echo it twice. Maybe if we know the structure of the array like delayedinsanity said it would be easier to help you out.
|
|
|
|