![]() |
Alexey admin 4/16/2007 |
Hi, function BeforeEdit(&$values, $where) { //** Insert a record into another table **** global $conn; $strSQLInsert = "insert into mto_audit (userID, InquiryDate, MemberID) values ('".$values["userID"]."', '".$values["InquiryDate"]."', '".$values["MemberID"]."')"; db_exec($strSQLInsert,$conn); return true; } |
M
|
mrpeeble author 4/16/2007 |
Hi, use $values array to obtain user entered values. Here is the code: |
M
|
mrpeeble author 4/16/2007 |
yup, that fixed it, thanks! Hi, use $values array to obtain user entered values. Here is the code: |