Re: hyperlink
| From: | Joe LoMoglio | Date: | Wed, 01 Jan 2003 22:26:10 +0000 |
| Subject: | Re: hyperlink | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129875@lists.php.net to get a copy of this message | ||
Ok, now I see what you are trying to do. try this instead:
print "<img src=\" " . $row["banner_nombre"] . " \">";
You can get rid of the [ print "<a href=\" " . $row["banner_nombre"] .. " \">"; ] and the [ print "</a>"; ] code.
This will display the image. I misunderstood before and thought you wanted the link to go to a page. But for displaying an image. The above code should do the trick.
Joe
On Wednesday, January 1, 2003, at 03:10 PM, Ezequiel Sapoznik wrote:
Thanks for your help! I try, but if you check at http://www.historiadelpais.com.ar/test.php, you can see that I still have the link but what I need is that the php shows the jpg image. Thanks! Ezequiel "Joe Lomoglio" <joe@jlcreative.net> escribió en el mensaje news:8EEDB661-1DD0-11D7-9A94-000393AE745A@jlcreative.net...On Wednesday, January 1, 2003, at 02:06 PM, Ezequiel Sapoznik wrote:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpprint($row["banner_nombre"] ."<br>\n");Try this: print "<a href=\" " . $row["banner_nombre"] . " \">"; print ($row["banner_nombre"] ."<br>\n"); print "</a>"; Joe