$id?
If you ment $name, then you should test if the $name is equal to the $name you gave on insertCountry().