What is the proper way to setup an image field in a MySQL table using phpmyadmin…?
For example, after the user registers I want them to upload a picture.
MySQL will link to the picture and associate it with the user.
What is the best way to store the association?
You could let the user upload a picture and store it’s entire content in your database as a
BLOBor you could store the path to the file in aVARCHARfield. I would recommend the later.Sample user table: