Basic PHP Programming Question:
Download Questions PDF

How can we encrypt and decrypt a data presented in a table using MySQL?

Answer:

You can use functions: AES_ENCRYPT() and AES_DECRYPT() like:

AES_ENCRYPT(str, key_str)
AES_DECRYPT(crypt_str, key_str)

Download PHP Interview Questions And Answers PDF

Previous QuestionNext Question
What is meant by nl2br()?What are the functions for IMAP?