Hello,
I need to compare the value of the current with with the result of the previous row using php.
The code would loook like:
if($row['field']!==prev($row['field')){
echo $row['field'];
}
Basically, this is to be used to suppress repeating data.
so instead of:
field1 item1
field1 item2
field1 item3
I get
field1 item1
item2
item3
Thanks