I have this issue with password encryption, now, I use md5.. i know it's not the safest but anyways.
I have this code:
$import="INSERT into users(Username,Password,Email,first_name,last_name,phone,user_id) values('$data[0]','md5($data[1]).','$data[2]','$data[3]','$data[4]','$data[5]','$data[6]')";
Now, this posts in the database the value like it is: I mean i.e
md5(A101)
How can I solve this?