I want to do something like
select * from `table` where 'fieldname' = built_in_sql_function_to_decode_b64($user_input_that_has_been_b64_encoded)
And also, does this technique a reliable technique to be protected against SQL Injection?
Is it better than the mysql_real_escape_string alternative?
Did you check these out? Also, you will still need to use mysql_real_escape_string to help with SQL injection
Base64 encode
Base64 decode