![]() |
Alexey admin 3/19/2008 |
Simone, global $conn; $sql = "insert into Table2 (Field1,Field2) values ('".db_addslashes($values["Field1"])."','".db_addslashes($values["Field2"])."')"; db_exec($sql,$conn); |
S
|
sickacid author 3/19/2008 |
Simone, the values entered by the user on the Add page can be accessed thru $values array in the After record added event. So use them to build INSERT SQL string and execute it. Here is the sample code:
|
![]() |
Alexey admin 3/19/2008 |
Simone, if($values["Descrizione"]=='MULTA') ...
|