View Full Version : How query results[SELECT] appear in tabular form,using an image with source fromFIELD
lse123
11-15-2007, 06:03 PM
How query results[SELECT] appear in tabular form , using an image with source from the database table field "source" , and a link towards detailed page from the database table field "link" ? How to store image & link URLs IN THE DB TABLE ?
Fumigator
11-15-2007, 07:39 PM
It seems like there is a language barrier here that is making your question unclear.
Are you asking how to store an image in a BLOB type column? That depends on the language you use. Try Google for an answer (i.e. +mysql +blob +php).
lse123
11-16-2007, 08:46 AM
I want to store in a table field of a row a url(img & link) so build on the tabular results pages an image from this and build a "view details" link from the second stored url ? I only want store the url not the image ... what data type to use ? how to implement this on the tabular data results (get entry from table field and build the image and "details link" ?
lse123
11-23-2007, 10:02 AM
Can you tell me how to (after get values [eg. $photo=image3, $details=link3] from database table), build an image and a link ?
$photo = mysql_result($result,$i,"photo");
what mysql/html syntax to use ?
<img src="../polis-land/images/search/ <?= $photo ?> .jpg" width="200" height="132" />
image3
all search results images are in ../images/search/ . is needed get from db table "image3" or "image3.img" or the whole url ? same stands for hyperlink ?
<a href="../polis-land/apartments/<?= $details ?>">
akamasvillageargaka.php
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.