Fwd: [PHP] can i include an image?

From: Date: Sun, 09 Jul 2000 09:54:47 +0000
Subject: Fwd: [PHP] can i include an image?
Groups: php.general 
Request: Send a blank email to php-general+get-5590@lists.php.net to get a copy of this message
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

« previous php.general (#5590) next »