You are here: Re: Appending #anchor with other variables « PHP Programming Language « IT news, forums, messages
Re: Appending #anchor with other variables

Posted by Pseud O'Nym on 11/04/05 04:12

"Joe Molloy" <molloy_joe@hotmail.com> wrote in message
news:VTyaf.18167$R5.1764@news.indigo.ie...

Thank you, I just looked at $_GET on php.net and now understand. :) OTOH, I
think maybe I'll make a form with a POST method, and hidden inputs for my
vars, in the places I now have hrefs with appended variables. The contents
of the address bar for my, very simple, site is starting to make a Google
look like child's play .

> You could add your variables to the querystring like
>
> script.php#top?myvar=thevar&myvar1=thevar2
>
> and then retrieve them on the script.php page using
>
> $myvar = $_GET["thevar"];
>
> $myvar1 = $_GET["thevar2"];
>
> Happy coding :)
>
> Joe
> "Pseud O'Nym" <notexpletivedeleteduk@notyahoo.co.uk> wrote in message
> news:436ab59c$0$27969$ed2619ec@ptn-nntp-reader02.plus.net...
> > Hi all, and apologies if this is a newbie type question, I am one.
> >
> > I need to get a page to go to a paticular <a name=""> tag. It works fine
> > with no variables passed eg: myscript.php#top, but I need to append
other
> > info and just can't work out how to do it.
> >
> > TIA
> >
> >
>
>

 

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

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