php - Store an image link in MySQL using Navicat Premium -
i'm designing dynamic website joomla , php part handled dreamweaver.
i'm using navicat premium build database.
one raw (varchar) in database contains images. found having images blobs
in database not idea.
but, linking image /img/image.php
in cell not working.
actually i'm using dreamweaver fetch database table result page.
please me in-
- inserting image link cell via navicat premium.
- any modifications should in dreamweaver after inserting proper link in cell.
thanks.!
screenshot of result page
the problem is, mixing address , image. have several option. let's create image field in database, , when loop through records, check, image field not empty, , if it's not, show image by: <img src="path of image comes here" alt="" />
in case <img src="/images/image.png" alt="" />
with current design of table, somehow need decide, image, or address. because if loop through recordset, there be: <img src="london" alt="" />
, , london not valid image resource.
Comments
Post a Comment