Is using the following will make my server have hard time, specially when I have 25 users adding simultaneously to my database:
INSERT INTO patient(id, name, address)
VALUES (1, aes_encrypt($name), 'USA')
Or it is better to let php make the encryption using the same function and insert it into the query with binding ? If yes, I can't find the equivalent php function to aes_encrypt() to do so.