php - phpLiteAdmin - Adding Images -
an application presently working on requires sqlite database. not 1 maintaining database believe tremendously beneficial use tool such phpliteadmin. however, need way store image blob in table (i know there pitfalls storing actual image data in database, purposes believe best approach). there way gui tool such phpliteadmin or not? somehow write custom function implement behavior if available default?
thanks much!
as alternative, store image's file name in char type column. example, there column img_filename in table. can show image in html <img src='...'>
tag:
<?php // database query here // ... print "<img src='".$row['img_filename']."' />" ?>
Comments
Post a Comment