What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Detect duplicates

Phd2000

New member
Joined
Apr 19, 2022
Messages
2
Reaction score
0
Points
1
Location
France
Hello everyone
Can someone please help me
Is there a possibility with xcrud to detect duplicates on 2 or 3 fields and to prohibit the entry in the database
Thanks
 

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
Hello everyone
Can someone please help me
Is there a possibility with xcrud to detect duplicates on 2 or 3 fields and to prohibit the entry in the database
Thanks
You can try using where $xcrud->where('field_id=','value_duplicate');
 
Top Bottom