[SOLVED] Â Check for existing records and avoiding duplicate entry |
4/13/2007 22:17:14 | |
| PHPRunner General questions | ||
|
Z
zebex author
Screenshot: |
||
|
|
Sergey Kornilov admin 4/13/2007 |
|
AfterAdd event happens after record was added already. |
|
|
Z
|
zebex author 4/14/2007 |
AfterAdd event happens after record was added already. Use BeforeAdd event for this purpose. In this event you can use $values["FieldName"] to access field value and build correct SQL query.
|
|
|
Z
|
zebex author 4/14/2007 |
|
Im just starting with sql and php. Im totally lost. I would appreciate if you guide and put me on the right track.
|
|
|
Z
|
zebex author 4/14/2007 |
|
Im just starting with sql and php. Im totally lost. I would appreciate if you guide and put me on the right track.
|
|