...

View Full Version : Input fields



Mike Collins
12-31-2006, 03:51 AM
Hello

I have a question for input fields. I have the input field below.

<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<INPUT type="text" size="10" maxlength="30">
<INPUT type="Submit" VALUE="Submit">
</FORM>

I am wondering what code to use so that the characters entered in in the input field are then written into an href="" link and an src="" link

For example:

When I input say "www.myspace.com" into my input field I would like the characters "www.myspace.com" to be written into the href="" and src="" links below

href="http://www.ebay.com"

src="http://www.ebay.com"

so that they become

href="http://www.myspace.com"

and

src="http://www.myspace.com"


If anyone knows how to do this and can point me in the right direction please let me know, I will take any and all advice.

Thanks in advance and Have a Happy New Year! :)

Mike

haveacigar
12-31-2006, 04:08 AM
Do you mean something like php?

If you do then you would have to make a pre-prosessing and a processed page

like this (http://www.alanmonger.co.uk/blah/pre.php)?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum