Thursday, 25 January 2007
Article: Checking for Duplicate Records in CakePHP |
| |
|
| |
Marie Zachovalova in a new post over the Bakery blog talks about how to check for duplicate records in your CakePHP model. At the beginning she gives two brief steps to carry out the procedure. They are:
- validate a form field (such as a user name field), both in add and edit form and make sure that the selected user name does not already exist in the database
- function repeated only once in
app/app_model.php
Then she provides examples of download codes for Model Class and Controller Class in the app_model.php to facilitate better understanding of the concepts. |
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|