PHP function only working once
问题 I'm trying to encrypt three sets of data to insert into MySQL database. However only the first one is working ($email). Firstly I post data from a form, make several checks (does the user exist etc...). At this point I encrypt the email to check with the database (already exists). If the data doesn't already exist, it will encrypt the first names and surnames and insert them into the database. It does encrypt the first name and surname, but not correctly. Only the email encryption works.