Really not sure if this is where this question belongs.
I am looking for advise (a good example) on using gpg with PHP to encrypt data going into a MySQL database.