[SOLVED] Change color of Data if expired |
7/19/2011 11:35:48 | |
| PHPRunner General questions | ||
|
S
sickacid author
Hi, in editor -> view as -> custom |
||
|
C
|
cgphp 7/19/2011 |
|
Try this: $diff = abs(strtotime(now()) - strtotime($data["DataDocumento"]));
"now"
now()
$values["DataDocumento"]
$data["DataDocumento"]
$value="<font color='".$color."'>".$value."</font>"; |
|
|
S
|
sickacid author 7/19/2011 |
|
thank you very much for your teaching! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=59560&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
|