hi
i`m quite new in mysql programming.i have a problem:
when i try to insert a row in a table i get an error 'Duplicate entry '' for key 1'
what does that mean? my indexes are unique and i don`t think they have any problem .
would you please tell me where`s my error
here is the troublesome line:
$query="INSERT INTO personalinfo ( nationalnum , accountnum)
VALUES ('$national', '$account')";
thanx a lot in adv