I am using PHP with MYSQL and want to add a feature to upload profile image. I want to display a default image if the user has not uploaded his imageyet. I have declared the profile image field of database as BLOB. I am getting no option in that case to put a default image directly through database. Please help !!
Share
Handle it in your code. No need to copy the same image into every user’s database field.
In fact, you should store images outside the database to begin with.