D
|
drh author 2/2/2007 |
Geez, sorry, that was just too easy. |
D
|
drh author 2/2/2007 |
oops, I got a little excited. Nope, its not working. Here is my revised code, although its not working, maybe someone can help. |
![]() |
Alexey admin 2/5/2007 |
Dave, function EditOnLoad() { global $where; global $conn // Parameters: // $where - string with WHERE clause pointing to record to be edited //** Custom code **** // put your custom code here db_exec("UPDATE `pos_equip` SET `Notes` = CONCAT( `notes` , '\n', now(), ' ' ) WHERE ". $where",$conn); } |
D
|
drh author 2/9/2007 |
Hi forum, |
J
|
Jane 2/12/2007 |
Hi,
$smarty = new Smarty(); and add following code just after: if ($_SESSION["added"]==0) $data["notes"]=$data["notes"]."\n".now()." "; |
D
|
drh author 2/12/2007 |
Thanks Jane! |