Posted by Beauregard T. Shagnasty on 07/13/07 13:03
Neredbojias wrote:
> Beauregard T. Shagnasty scribed:
>> Neredbojias wrote:
>>> Suppose I have a normal link like:
>>>
>>> <a href="some/path/ululation.php#fragg">Click Dis</a>
>>
>> You should have: <a name="fragg"></a> or <div id="fragg">
>> somewhere in ululation.php, right? S'far as I know, it should jump
>> right to that part of the page.
>
> I'm trying to use it as a "pointer" in php, not for the normal
> function.
You didn't mention that. So then under normal circumstances, you will
have to do something like:
<a href="some/path/ululation.php?p=fragg">Click Dis</a>
$somevar = $_GET['p'];
and then have your script jump to the id or anchor. But why make it
difficult? Don't you already have the id/anchor?
--
-bts
-Motorcycles defy gravity; cars just suck
[Back to original message]
|