imageplace
| From: | Ryan Holowaychuk | Date: | Tue, 08 Apr 2003 00:08:23 +0000 |
| Subject: | imageplace | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-142772@lists.php.net to get a copy of this message | ||
I am trying to place an image base on a variable that was selected on
another page before
So they go to a page see the list of samples that are there, click on
the samples. And then when it goes to the new page the image they
selected is there.
Not sure how else to word this, but we have all the samples on our page
I have a database set and working. But I can not get the above to work.
I have tried the below 3 ways and can not get the variable to load
<?php
<img name=""
src="/images/"[$id]" width="32" height="32" alt="">;
?>
<?php
<img name=""
src="'/images/' . '[$id]'" width="32" height="32"
alt="">;
?>
<img name="" src='[$id]' width="32"
height="32"
alt="">