You are here: Re: putting a variables in a link « HTML « IT news, forums, messages
Re: putting a variables in a link

Posted by David Dorward on 02/13/06 10:07

Nav wrote:

> How does someone put a variable in a link? In particular, I'd like to
> put a hidden form value in a link. Something like:
>
> <input type="hidden" name="URLvalue" value="index.html">
> <a href="http://www.whatever.com/'URLvalue'">

Links go to one URL. Submitting form data is done by forms.

<form action="http://www.example.com/">
<div>
<input type="hidden" name="URLvalue" value="index.html">
<input type="submit">
</div>
</form>

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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