jest ktoś w stanie powiedzieć jak w tym kodzie zastosować target _blank'a?
Próbowałem na wiele sposobów i nie koniecznie działało mi to ; )
Bądź może ktoś ma pomysł na ułatwienie tego kodu...
CODE
<?php
$header_image[]=array("http://dlagracza.com/wp-content/uploads/2012/06/banner.png","http://www.wp.pl");
$header_image[]=array("http://dlagracza.com/wp-content/uploads/2012/06/bannerbgz.png","http://www.onet.pl");
$rand = rand(0,count($header_image)-1);?>
<a href=<?=$header_image[$rand][1]?>><img src="<?=$header_image[$rand][0]?>" alt="" border="0"?>
$header_image[]=array("http://dlagracza.com/wp-content/uploads/2012/06/banner.png","http://www.wp.pl");
$header_image[]=array("http://dlagracza.com/wp-content/uploads/2012/06/bannerbgz.png","http://www.onet.pl");
$rand = rand(0,count($header_image)-1);?>
<a href=<?=$header_image[$rand][1]?>><img src="<?=$header_image[$rand][0]?>" alt="" border="0"?>