This topic is locked
[SOLVED]

 change the background row

7/10/2012 11:47:46 AM
PHPRunner General questions
O
onlline author

Hi
Need to change the background row if actual day
if (date('d',strtotime($data['DataVencimento'])) == Now()) //

{

$row["rowstyle"]='style="background:yellow"'; // [color="#FF0000"]if actual day - does not work

}
elseif (date('d',strtotime($data['DataVencimento'])) == 8)

{

$row["rowstyle"]='style="background:green"'; [b][color="#008000"]//Fine Work


}


Thanks in advanced

C
cgphp 7/10/2012
if (date('j',strtotime($data['DataVencimento'])) == date('j'))

{

$row["rowstyle"]='style="background:yellow"';

}
O
onlline author 7/10/2012


if (date('j',strtotime($data['DataVencimento'])) == date('j'))

{

$row["rowstyle"]='style="background:yellow"';

}



Hi Christian

Thanks
Fine Work