ancor links and php GET
Posted: Thu Feb 02, 2006 3:48 am
Hi everyone
I am using this link on my home page:
This will link to the news story further down located by tag:
This works fine for code but when I try to validate the HTML using W3C 4.01 I get this error:
I am using this link on my home page:
Code: Select all
<a href="news.php?article=<?php echo $row_news2['id']; ?>#viewnews"><?php echo $row_news2['title']; ?></a>Code: Select all
<a name="viewnews"></a>How can I do this so that my page is valid?Line 154 column 123: "VIEWNEWS" is not a function name.