|
Posted by PHPGB on 10/24/72 11:25
<comp.lang.php , Alec , ajtdds@aol.com>
<1125490980.715563.84190@f14g2000cwb.googlegroups.com>
<31 Aug 2005 05:23:00 -0700>
> I want to also insert an image (of the premises for example) for each
> bed and breakfast found.
>
> Assuming a code in each database entry is actually the exact image
> name, and all are stored in /images, and all of JPG format and fixed
> size, how can I insert the image for each search result found.
>
Add some "blah.jpg" text to each entry I assume .
$poo="blah.jpg";
<a href="images/<?php print $poo; ?>"></a>
<td><?php print $poo; ?></td>
etc
But wont you need 2 images if you also want to use a thumbnail on the
found entrys .
--
www.phpguestbook.co.uk
Navigation:
[Reply to this message]
|