You are here: Re: OT: Php hash « HTML « IT news, forums, messages
Re: OT: Php hash

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация