If you are storing the fiscal code in a database, make the column unique 
and then the database will inform you if you are trying to insert a fiscal 
code that already exists.

Enjoy, John

On Tuesday, 30 June 2015 21:27:38 UTC+3, Andrea Manca wrote:
>
> Hi all,
>
> i'm new to cakephp and i use the 3 version. I'm lovin' it!!! :-)
>
> I try to check the fiscal code (i'm italian and in my country the fiscal 
> code = tax code is the unique id for all person) because i need to check if 
> the user exist and don't insert duplicate.
> I'm going crazy to do that beacuse isn't a function do this.
>
> Help me please!!!
>
> thanks in advantages for all reply.
>
> PS: sorry for my bad english :-)
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to