an htmldecode routine function for mysql