i'm creating interactive website user can upload file.all want how can let other users see file? example if datas saved database can make using select , print these data. if have file how can make file seen (not downloaded) users? want know can use make , don't want make me! please if has ide please tell should learn make this? possible save file in database in phpmyadmin , select then? if yes type of field should use save file varchar?
it depends on how want file saved. if it's text file go text. if it's image or other kind of media pick blob. can take @ what differences between blob , text datatypes in mysql? more information on mysql data types.
another approach save file somewhere outside database (in directory tree somewhere) , save filepath location in varchar column. many dbms not support group on blob or clob columns consider if portability issue, , adds layer of separation between data , file storage.
Comments
Post a Comment