Ciao vorrei sapere come faccio a gestire con php
la risposta che mi da il server mysql quando cerco di inserire un campo UNIQUE o PRIMARY che gia esiste, esempio:
TABELLA nome
id nome cognome nickname --> id è primary e vabbe, nickname UNIQUE.
Inserendo un nuovo record con il campo nickname uguale ad un record preesistente cosa mi torna mySQL ?
e Soprattutto è gestibile in php ?