Getting Data from A Database Based on fieldkey

Yay! I got it working. I converted the variable t to a string. I think it just took some time to update.