T
|
thesofa 10/24/2006 |
Hi, Just wondering if I have a new entry added to a db and then it is looked up in a different table is it possible to have a graphic such as NEW appear for any new or unread entries? If so how would you do this?
|
J
|
Jane 10/25/2006 |
Graeme,
function ViewOnLoad() { global $where, $conn; $str = "select field1 from TableName where ".$where; $rs = db_query($str,$conn); $data = db_fetch_numarray($rs); $_SESSION["reads".$data[0]]++; }
if ($_SESSION["reads".$value]<1) $value = "<img src=\"include/new_image.gif\">"; else $value="";
|
G
|
gdude66 author 10/27/2006 |
Thanks Jane - Good work |
S
|
sogoli 7/23/2009 |
not work with phprunner 5.0 & 5.1. |
J
|
Jane 7/24/2009 |
Hi, |
S
|
sogoli 7/24/2009 |
Hi, please clarify what doesn't work in the latest version.
|
J
|
Jane 7/27/2009 |
Hi, |