Re: anchor "#" not working?
| From: | Don Read | Date: | Mon, 05 Mar 2001 00:00:33 +0000 |
| Subject: | Re: anchor "#" not working? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42538@lists.php.net to get a copy of this message | ||
On 04-Mar-01 andrew wrote:
> thanks for the feedback, gents, but it's not working :/..
>
> I changed to this, as suggested:
>
>> <a name="1"></a
>
> actually, here is a snippet of the function I'm using the generate the link:
>
> <a href=\"news.php#$row[0]\"><h5>...more</h5></a>
>
> and the subsequent anchor on the next page....
>
> while ($row = mysql_fetch_row($result))
> {
> <a name=\"$row[0]\"></a>
> <tr><td><h3>$row[2]</h3></td></tr>
> <tr><td><h4>$row[3]</h4></td></tr>
> }
>
> I've verifeid that $row[0] is printing the exact same content on both
> pages... quite odd that it's not working.
maybe faulty memory on my part, but i think I've seen something similar
(i.e. "<a name>" is flakey inside tables).
play with putting <a name ..></a> within your <tr> or <h3> tags.
Regards,
--
Don Read dread@texas.net
-- If you are going to sin, sin against God, not the bureaucracy.
God will forgive you but the bureaucrats won't.