getting a href anchor to work
Posted: Wed Oct 08, 2003 10:12 am
snippet of large php script
code at view.php
However viewer does not link to correct anchored position.
Client simply links to top of the page.
How do I get the anchor to work.
Code: Select all
<?php
echo "<a class="fab_blue_small"
href=".//gallery_ms/forumesque/view.php#$caption"
onMouseOver="window.status=''; return true" target="blank">
view specifications & more info
</a>";
?>Code: Select all
<?php
echo "<form class="form2"><b><a href="#$pieces[1] ">" . $pieces[1] . "</a></b><br>" . $pieces[3].
"<br>" ;
echo " d e t a i l s - <br>" . $pieces[2] . "<br>" . "<small>info updated on ".$pieces[0] ."</small></form>" ;
?>Client simply links to top of the page.
How do I get the anchor to work.