php - How to store user's profile picture in mysql -
php - How to store user's profile picture in mysql -
i developing chat application ios.
in app, users can set image profile picture.
so question is, how can able store images in mysql ?
i have seen many people say, store link image(on device) in mysql, how images available on different ios devices, database right ?
i have tried using blob, when table rows displayed(json encoded), value blob field comes out null.
please reply in brief.
thanks,
this simple :) physical image stored on server , store in db image name, or relative path image, or want it. so, if like, have store in db "pointer" image.
so: - image in folder on server - in db -> path/to/file or file_name.format or if know path, , know format file_name
hope helps! :d
php ios mysql
Comments
Post a Comment