Ouwe rakker |
|
Als je je array eens anders indeelt dan kom je er misschien wel uit ;)
<?php
$aBanners = array(
0 => array(
'image' => 'images/1.jpg',
'link' => 'http://www.1.com/'
),
1 => array(
'image' => 'images/2.jpg',
'link' => 'http://www.2.com/'
),
2 => array(
'image' => 'images/3.jpg',
'link' => 'http://www.3.com/'
)
);
<?php 'image' => 'images/1.jpg', 'link' => 'http://www.1.com/' ), 'image' => 'images/2.jpg', 'link' => 'http://www.2.com/' ), 'image' => 'images/3.jpg', 'link' => 'http://www.3.com/' ) );
|