Mailing-List: contact php-general-help@lists.php.net; run by ezmlm
list-help: <mailto:php-general-help@lists.php.net>
list-unsubscribe: <mailto:php-general-unsubscribe@lists.php.net>
list-post: <mailto:php-general@lists.php.net>
Delivered-To: mailing list php-general@lists.php.net
Date: Sat, 8 Jul 2000 05:58:38 -0700 (PDT)
From: Sandeep Hundal <sandeep_wde@yahoo.com>
Reply-To: sandeep@wde.org
To: php-general@lists.php.net
Subject: [PHP] can i include an image?
Hi ppl...
got a small but annoying problem... :(
I've got a thumbnail gallery, and I'm trying to get the
images to open in a php page as i have some tect to go with
it....
like :
<a href="/fashion/asian/55/pic.php?pic=7.jpg"><img
src="7_tn.jpg"></a>
and in pic.php i try to mak the image show up by :
<? echo "<img src=$pic.jpg>" ?>
but that doesn't work... i tried a few variations.. but
those dont work either... can someone help me and point me
in the right direction??
thanks !!
/sunny
Hi sunny,
has $pic a value f.e. $pic="7_tn.jpg";
then it should look <? echo "<img src=$pic>"; ?>
second is the picture in the same directory ?
oliver