Ok here is the code below, I need to know what I need to change in this code for it to be able to be a clickable link... I have many layouts and want to add more but with so many pages, its a bit hard to go through 49 pages just to add one page. I already submitted this problem to web design company but have yet to get any solution. So here is the code. I hope someone can help me!

<img src="http://<?php echo $img_url . "/" . $imgpath . $file; ?>" alt="<?php echo $file; ?>" width="250" ><br>
<textarea name="textarea2" cols=23 rows=7 onClick="this.focus();this.sel...
<a href="http://<?php echo $site_url; ?>" target="_blank" title="<?php echo $urlpath . $file; ?>">
<img src="http://<?php echo $img_url . "/" . $imgpath . $file; ?>" border="0" alt="<?php echo $urlpath . $file; ?>"></a>
<?php if ($support_image != "") { ?>
<img src="http://<?php echo $support_image; ?>" alt="Myspace Editors" style="position:absolute; left:0px; top: 0px;" border="0"></a>
<?php } ?>
<a href="http://<?php echo $site_url; ?>/" target="_blank" title="Myspace Images">This image is from <?php echo $site_name; ?></a></center></textarea>

Recommended Answers

All 2 Replies

What exactly is the problem? what needs to be a clickable link?

Firstly, use code tags

<img src="http://<?php echo $img_url . "/" . $imgpath . $file; ?>" alt="<?php echo $file; ?>" width="250" >
<br>
//what is this? you don't finish the line
<textarea name="textarea2" cols=23 rows=7 onClick="this.focus();this.sel..."
<a href="http://<?php echo $site_url; ?>" target="_blank" title="<?php echo $urlpath . $file; ?>">
<img src="http://<?php echo $img_url . "/" . $imgpath . $file; ?>" border="0" alt="<?php echo $urlpath . $file; ?>"></a>
<?php if ($support_image != "") { ?>
<img src="http://<?php echo $support_image; ?>" alt="Myspace Editors" style="position:absolute; left:0px; top: 0px;" border="0"></a>
<?php } ?>
<a href="http://<?php echo $site_url; ?>/" target="_blank" title="Myspace Images">This image is from <?php echo $site_name; ?></a>
</center>
</textarea>

Second, there seems to be a bit of your code missing. Fix it up and repost

From what you gave this is what I got:

<img src=<?php echo '"html://'.$img_url . "/" . $imgpath . $file.'"'; ?> alt=<?php echo '"'.$file.'"'; ?> width="250" >
<br />
<textarea name="textarea2" cols=23 rows=7 onClick="this.focus();this.sel..."
<a href=<?php echo '"http://'.$site_url.'"'; ?> target="_blank" title=<?php echo '"'.$urlpath . $file.'"'; ?>>
<img src=<?php echo '"html://'.$img_url . "/" . $imgpath . $file.'"'; ?> border="0" alt="<?php echo $urlpath . $file; ?>"></a>
<?php if ($support_image != "") { ?>
<img src=<?php echo '"http://'.$support_image.'"'; ?> alt="Myspace Editors" style="position:absolute; left:0px; top: 0px;" border="0"></a>
<?php } ?>
<a href=<?php echo '"http://'.$site_url.'/"'; ?> target="_blank" title="Myspace Images">This image is from <?php echo $site_name; ?></a>
</center>
</textarea>
commented: Code tags make everything better! +4
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.