php and html image tag...
| From: | Jas | Date: | Mon, 08 Apr 2002 14:07:37 +0000 |
| Subject: | php and html image tag... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92040@lists.php.net to get a copy of this message | ||
Ok here is my problem, I have a piece of code that queries the database
pulls the results of a table into an array, on another file the results of
that array are used with a require function and then each variable is echoed
to the screen where I need it, I have a piece of javascript to open a pop up
window and the code is as such...
<a href='javascript:openPopWin("<?php echo $ad01; ?>", 420,545,
"", 0,
0)'onmouseover="window.status='This weeks full page ad';return true">
As you can see I have placed the results of the array within my <a href="
tag and it works fine.. however the second part <img src="<?php echo
$ad01_t; ?>" width="200" height="100" vspace="0"
hspace="0" border="0"></a>
Will not pull the results of the array into the page, I don't know if this
is a valid piece or not, any help would be great. Thanks in advance.
Jas