PHP pseudo kod:
PHP kôd:
$yesterday = array(
'ovde ide ID pere' => array (
'name' = 'pera'
'order' = 2
)
)
$today = array(
'ovde ide ID pere' => array (
'name' = 'pera'
'order' = 1
)
)
foreach ($today as $id=>$detail) {
echo ..
echo $detail['order'] - $yesterday[$id]['order'];
}
a mozes u pesice - jedan po jedan, ako nemas ID-jeve, neko ce ti vec napisati