Is there a way to avoid this error/warning message
Warning: pg_query(): Query failed: ERROR: duplicate key violates
unique constraint "category_name_key" in foo.php on line 12
I would like something like, this already exists, please retry.
Something simple like that....
Even a popup box would be nice when press 'submit' button.
TIA!