Originally posted by rahul_raj77
Hi Keith,
Sorry about that.
I mean,
in page1.php I have code
<a href="#anchor1">go to news number 2, in page2.php</a>
in page2.php,
<a name="anchor1">News#2</a>
I think Iam clear now.
THanks.
you're still only asking an HTML question, not a PHP question. In that respect, you're link on page1.php needs to include the page name then the anchor name.
<a href="page2.php#anchor1">got to news number 2 in page2.php</a>
your code is right for the anchor in page2.php.
Now are these links being generated on the fly by PHP or are they static links that you manually enter into the pages?