Quote:
Originally Posted by Intex
Xenon- thanks a lot for that. If you're banner consists of multiple slices, can that be integrated into the above code?
|
As brad pointed out there's no real limit to the number of variables you can assign in each case. Hence...
PHP Code:
case 0:
$banner_slice1 = 'img1_slice1.jpg';
$banner_slice2 = 'img2_slice2.jpg';
$banner_url = 'www.mysite.com';
And so on for however many slices you need to define. You then call them in your table as normal.