Forum Moderators: coopster
How do I get the the redirection link to work inside of an image tag?
$id = $_GET['pid'];$result = mysql_query("select * from pictures");
$rab=mysql_fetch_array($result);
$image=$rab["image"];echo "$image";
The one above works fine when you visit the direct url, but when I try to include the link (ie: www.example.com/image.php?pid=1) inside of an image tag, it gives me a broken image.
... there shouldn't be any difference. Using the <img> element as shown by dc there with the same url as what you key into the browser address bar should produce the same thing.