By: Robert
Date: 2006-02-07
Time: 14:14
|
block - syntax
Hi Everybody!!!
It is my php file:
<?php
$a=array('a1','a2','a3');
$b=array(ba1',ba2','b3');
$OOo = new clsTinyButStrongOOo;
$OOo->MargeBlock ('blka', $a );
$OOo->MargeBlock ('blkb', $b );
..........
?>
I would like display something like this:
a1b1a2b2a3b3
How to do it this use block? Is it possible?
I am make
[blka;blkb;block=begin][blka.val][blkb.val]
[blka;blkb;block=end]
It is my result:
a1b1a2b1a3b1
It repeat b1 but I would like a1b1a2b2a3b3.
Thank You for help
|
By: Skrol29
Date: 2006-02-07
Time: 20:51
|
Re: block - syntax
Hi,
And what if $b and $a haven't got the same number of items ?
Merging combined blocks the way you're doing is not possible. But there are different issues dependaing to how you'd like to manage special cases, like in my first question.
|