A
|
ann 7/12/2010 |
Hi, $sql1 = "insert into AnotherTableName (field1, field2) select field1, field2 from TableName where ID=".$keys["ID"]; |
J
|
jansgroup author 7/12/2010 |
Hi, you can create button using Insert Button option on the Visual Editor tab. Here is a sample code to save and delete a record (add to the Server tab): $sql1 = "insert into AnotherTableName (field1, field2) select field1, field2 from TableName where ID=".$keys["ID"];
|
A
|
ann 7/13/2010 |
Hi, |
J
|
jansgroup author 7/13/2010 |
Hi, add the code to the Server tab of the button. Also you need to replace field1, field2, ID fields with your actual field names.
|
A
|
ann 7/13/2010 |
Hi, |