You can do it with javascript...

<script language="JavaScript"><!--
document.formName.fieldName.value = location.search.substring(1);
//--></script>

but this question would be better suited somewhere else than @ PHP-WIN,
don't you think? =)


. bobo .



----- Original Message -----
From: "Stephen K Knight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 4:05 AM
Subject: [PHP-WIN] Passing value in URL to form


> I have managed to pass information through a URL and extract it and insert
> it into a form on a php document.  Can this be done for an html document?
> Passing the value through the URL to an html page with form and then
through
> a URL again into a php doc.  I tried the same method I used in the php doc
> in the html doc but it didn't work.
>
> Any ideas?
>
> In kindness,
> Stephen
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to