use the code below
you'll get the resultPHP Code:<? php
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
echo zen_output_string_protected($order->products[$i]['attributes'][$j]['value']);
}
}
?>
638
if you add the <p> to it, such as echo zen_output_string_protected($order->products[$i]['attributes'][$j]['value']) . '<p>';
you'll get
6
3
8
now i want to get the max number from 6, 3, 8
any one could help?


Reply With Quote
