Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<a href> as submit button

Status
Not open for further replies.

JeroenB

Programmer
Apr 8, 2001
93
0
0
BE
Hi,
someone knows this ?
How can I do the following; when pressing on a link (a href) You should go to the specific page, but also the values of the form of the current page should be sent to it....

Thanksin advance
JeroenB
 
Other websites do this by having server-side scripting (CGI/ASP) if you do not have CGI/ASP access to your server then see what CGI scripts are already available to you. Klae

You're only as good as your last answer!
 
I agree with Klae as far as having a server side script. I use PHP and when I want to pass a value with a <A href> tag I format it as follows:

<A href=&quot;somepage.php?id=<?=$variable;?>&quot;>

or if already inside a PHP block:

echo '<A href=&quot;somepage.phpid=&quot;' . $variable . '>';


Hope that helps :)

WebProgrammerGoddess
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top