Contacts: Drop senseless use of inline css image.
Contacts: Properly prepare query and quote values. thx @eMerzh :)