I try a photo field, but the photo is saved with the row ID and not with the user name which is in a “USER NAME” field which is data from another table which is REF with the Users table.
The images are saved in the folder with the ID, I would like it to be the name given in the USERNAME field.
Is there a function that takes the ID and makes a query in the Users table and brings up their name so that the photo is recorded with the NAME and not the ID?