Re: Passing value in URL to form
| From: | Thomas Smart | Date: | Mon, 10 Mar 2003 12:10:30 +0000 |
| Subject: | Re: Passing value in URL to form | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18941@lists.php.net to get a copy of this message | ||
or you could set your php to parse .html files, then you can do it with php
$_GET['varname']
"Bobo Wieland" <dev@elstudion.com> wrote in message
news:000f01c2e6ec$85e4cd30$4fe81e0a@elstudion...
> 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" <stephen@fmwebschool.com>
> To: <php-windows@lists.php.net>
> 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
> >
> >
>