Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bhhussain's avatar

Duplicate value insert error handling

In my table I have set email address as unique. When someone try to insert the duplicate email ID then I want to display the message "Email ID already exist".

Can anyone help me please?

0 likes
1 reply

Please or to participate in this conversation.